[rabbitmq-discuss] how to test round robin behavior using Spring-AMPI API?

Rajasekhar P sekhar434145 at gmail.com
Tue Oct 22 11:13:42 BST 2013


Thank you MK.


On Tue, Oct 22, 2013 at 3:11 PM, Michael Klishin <mklishin at gopivotal.com>wrote:

> On 22 Oct 2013, at 13:33, Rajasekhar P <sekhar434145 at gmail.com> wrote:
>
> > 1> setting ConcurrentConsumers property
> (Container.setConcurrentConsumers(2)) and running in consumer program in
> single thread
> > 2> running consumer program in two threads without ConcurrentConsumers
> property.
> >
> > Could any one help me on this which is correct option? Thanks in advance!
>
> 1 is the right thing to use in production.
> 2 will give you more flexibility in tests, e.g. close one consumer channel
> in tests.
>
> MK
> _______________________________________________
> 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/20131022/53fea87b/attachment.htm>


More information about the rabbitmq-discuss mailing list