[rabbitmq-discuss] Consume stuck at prefectch count limit

Pieter de Zwart pdezwart at rubiconproject.com
Tue Dec 6 16:16:14 GMT 2011

I was unaware of a requirement to ack messages up to the prefetch limit before continuing to consume… That seems very odd to me.


From: Simone Busoli <simone.busoli at gmail.com<mailto:simone.busoli at gmail.com>>
Date: Mon, 5 Dec 2011 14:26:12 -0600
To: Pieter de Zwart <pdezwart at rubiconproject.com<mailto:pdezwart at rubiconproject.com>>
Cc: RabbitMQ Mailing List <rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>>
Subject: Re: [rabbitmq-discuss] Consume stuck at prefectch count limit

Briefly looking at the code you don't seem to be acking messages.

On Dec 5, 2011 7:31 PM, "Pieter de Zwart" <pdezwart at rubiconproject.com<mailto:pdezwart at rubiconproject.com>> wrote:
Hey everyone,

I am having some trouble with the basic.consume method and prefetch. It would seem that when I set a prefect count to X, the consume method will successfully pull in X messages, and then get stuck on the next amqp_simple_wait_frame. I have attached a hacked version of the amqp_consumer example that displays the behavior. I did hack in a local queue name that had enough messages…

Hopefully I am just doing something nonsensical.


rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111206/764ad6ac/attachment.htm>

More information about the rabbitmq-discuss mailing list