[rabbitmq-discuss] How long will rabbitMQ requeue those which have not acknowledged message?

Michael Klishin michael.s.klishin at gmail.com
Thu Dec 12 11:14:11 GMT 2013


2013/12/12 woodslee <woodslee at 126.com>

> When rabbitMQ delivery a message , X minute later, if the message have not
> acknowledged,
> then rabbitMQ requeue the message.
>
> Is this possible?
>

Start a timer in delivery handler (on the client end) and then use
basic.nack with requeue = true
when time is up. RabbitMQ itself does not have a limit on how long a
delivery can be unacknowledged.

Note that channel closure will cause all unacknowledged messages on it to
be re-queued as well.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131212/8d3e449a/attachment.html>


More information about the rabbitmq-discuss mailing list