[rabbitmq-discuss] Messages being deleted?

Matthias Radestock matthias at rabbitmq.com
Fri Jul 12 18:45:54 BST 2013


On 12/07/13 18:38, Lauer, Robert (RIS-PHL) wrote:
> Having a strange issues with RabbitMQ (3.1.3) using the STOMP
> connector…not sure if this is expected behavior or a bug?
>
> Client consumes 2 messages and does not acknowledge them..then consumes
> third message, acknowledges that message.  All messages are deleted from
> the queue.
>
> Seems to me that only the last message should be deleted?  What am I
> missing?

See the semantics of the SUBSCRIBE ack header 
(http://stomp.github.io/stomp-specification-1.2.html#SUBSCRIBE_ack_Header), 
in particular the distinction between 'client' and 'client-individual'.

Matthias.


More information about the rabbitmq-discuss mailing list