[rabbitmq-discuss] Turning off prefetch in the asynchronous_consumer_example

Scott Chapman Scott.Chapman at servicenow.com
Fri Mar 8 21:51:02 GMT 2013


I did not expect to see any in unacknowledged state.

So if my consumer dies and that message is there in unpack state and I
restart the client, will it grab that message or will it do something else?

Scott

On 3/8/13 11:22 AM, "Matthias Radestock" <matthias at rabbitmq.com> wrote:

>Scott,
>
>On 08/03/13 19:02, Scott Chapman wrote:
>> I don¹t want it to "check out the message". That's prefetching. I want
>> it to leave the message alone until it's ready to be processed.
>
>If the prefetch count is set to 1 then you should see at most one
>unacknowledged message when looking at a channel in the management UI /
>with rabbitmqctl.
>
>Check in the management UI, or with 'rabbitmqctl list_channels name
>prefetch_count', whether your basic.qos prefetch setting is taking effect.
>
>Matthias.



More information about the rabbitmq-discuss mailing list