[rabbitmq-discuss] getting duplicated delivery

Simon MacMullen simon at rabbitmq.com
Thu May 16 10:53:15 BST 2013


On 16/05/13 08:08, Tim Watson wrote:
> Once a message is acked and
> delivered, a queue will not send it (i.e., the same message) to any
> further consumers.

This is the key point. It will also not redeliver it if the consumer 
just acks slowly.

But the fact that turning off acks solves the problem suggests that the 
messages *are* getting redelivered - so the OP should check the consumer 
code and make sure that messages are being acked before the connection 
or channel is closed.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list