[rabbitmq-discuss] Turning off prefetch in the asynchronous_consumer_example

Matthias Radestock matthias at rabbitmq.com
Fri Mar 8 22:40:45 GMT 2013


Scott,

On 08/03/13 21:51, Scott Chapman wrote:
> I did not expect to see any in unacknowledged state.

Unacked messages are messages that have been sent to a consumer but not 
yet acknowledged. The prefetch count puts an upper bound on the number 
of such messages sent on a given channel.

> So if my consumer dies and that message is there in unack state and I
> restart the client, will it grab that message

Yes. Unless there are other consumers on the same queue that grab that 
message first.

Matthias.


More information about the rabbitmq-discuss mailing list