[rabbitmq-discuss] getting duplicated delivery

Billy Hand billythethird at gmail.com
Thu May 16 15:44:36 BST 2013


I will do some more testing today based on your's and and Tim's suggestions.

For the record, the connection/channel never closes.  After processing one
message from the queue the consumers go back and look for more.  Once they
are idle again I can get all 30 consumers to respond to one message.

There is no delay in redelivery either.  The consumers all seem to get the
message at the exact same time.

Thanks for your quick responses.  I'll reply back when I have investigated
more.


On Thu, May 16, 2013 at 4:53 AM, Simon MacMullen <simon at rabbitmq.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130516/09af69c4/attachment.htm>


More information about the rabbitmq-discuss mailing list