[rabbitmq-discuss] Multiple consumers on a queue

Simone Busoli 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:

> Hi,
> 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
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120304/e73b887c/attachment.htm>


More information about the rabbitmq-discuss mailing list