[rabbitmq-discuss] Reading messages without acking them
michael.s.klishin at gmail.com
Fri Jul 22 22:40:39 BST 2011
2011/7/23 <Lowell.Boggs at emc.com>
> So, is it true then that if I set the prefetch number to 10, I can read up
> to 10 without acking any of them?
yes, and rabbitmq won't give your consumer 11th message until it receives an
ack for at least one of the first 10.
Take a look at
it has an example
of a few "apps" that share a queue, one of them "crashes" (its connection is
closed) and messages it did not acknowledge are redelivered
to the peers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss