[rabbitmq-discuss] Retrying messages that failed to process

Matthias Radestock matthias at rabbitmq.com
Thu Jul 18 03:12:56 BST 2013


On 18/07/13 00:54, Laing, Michael wrote:
> AFIK, however, the rejected/nacked messages is queued as if it were new,
> but with the redeliver flag set, AND any consumer may receive them,
> including the one which rejected/nacked them. Of course if you have
> multiple consumers on a queue, the rabbit will round-robin.
>
> But, the rejected/nacked message does not go to the 'front' of the queue
> as you desired (again AFAIK).

Actually, since RabbitMQ 2.7.0 messages get requeued in publication 
order. See http://www.rabbitmq.com/semantics.html#ordering for the details.

Matthias.


More information about the rabbitmq-discuss mailing list