[rabbitmq-discuss] Multiple consumers on a queue
simone.busoli at gmail.com
Sun Mar 4 20:26:10 GMT 2012
Hi Luke, more or less. This behavior is influenced by the prefetch-count
setting, which dictates how many messages are delivered to a consumer in
advance before they are acked. If you set it to 1, then you will achieve
what you describe.
On Mar 4, 2012 9:17 PM, "luke manner" <lukemanner at gmail.com> wrote:
> I'm defining a Camel RabbitMQ component.
> In route definition it is possible to define the number of concurrent
> consumers on a specific endpoint.
> If we suppose that user want to use a queue (in JMS style),
> I have to declare just only the queue (default exchange is used).
> On this queue multiple consumers can asynchronously obtain a message and
> this message is delivered through camel to receivers.
> Do you have any hint on how manage multiple consumers? All of them have to
> use the basicConsume and the broker ensures that different messages are
> provided to consumers in a round robin way?
> Any help will be appreciate.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss