activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Justin <>
Subject STOMP 1.1 NACK test and activemq.prefetchSize question
Date Sat, 07 Jul 2012 08:10:45 GMT

I am trying to set up a STOMP 1.1 NACK test for ActiveMQ 5.6.0 and 
Apollo 1.3.

The tests first sends three messages to a queue.

Then it subscribes the destination queue with a prefetch size of 3, like


and for two messages it sends ACK, for one message NACK.

The connection then is closed and a new connection tries to receive the 
NACKed message.

* I can see in the Admin web interface that all messages disappeared 
from "Pending Messages", and "Messages Enqueued" equals "Messages 
Dequeued". So I can not see any pending message while I would expect 
one, either in the same queue or in some dead letter queue

* also there is a message count of 1 in the Topic 
ActiveMQ.Advisory.MessageDLQd.Queue.ExampleQueue (but can not read the 
messages with the STOMP client)

Is activemq.prefetchSize the correct header to set the prefetch size on 
a subscribe frame if the ActiveMQ connection uses STOMP 1.1?

Can this header also be used with Apache Apollo, or is there a different 

Many thanks in advance

Michael Justin
habarisoft - Enterprise Messaging Software for Delphi

View raw message