[rabbitmq-discuss] Consuming multiple messages at a time

Emile Joubert emile at rabbitmq.com
Wed Jun 5 10:28:53 BST 2013



On 04/06/13 18:45, Vijay Lakshmi wrote:
> RabbitMQ is sending only 1 message at a time to the consumer. Even if we
> set the prefetch count as higher value, the messages are delivered only
> one by one.

Actually the broker may be sending multiple messages to the consumer,
even though the consumer only processes one message at a time. If you
set the prefetch-count to a large number then there should be minimal
latency between invocations of handleDelivery().







More information about the rabbitmq-discuss mailing list