[rabbitmq-discuss] Redelivery of unacknowledged messages
Matthias Radestock
matthias at lshift.net
Tue Sep 30 08:01:36 BST 2008
Ben Hood wrote:
>> When are unacknowledged messages redelivered?
>
> After the channel in which the initial receive has been closed and a
> new channel has been setup.
To be precise, unacknowledged messages become eligible for redelivery
when the channel (or connection) on which they have been delivered is
closed.
If a queue has more than one consumer, the message will be delivered to
one of the remaining consumers. Otherwise it will be enqueued and can
thus be consumed by a consumer which comes along later.
Matthias.
More information about the rabbitmq-discuss
mailing list