[rabbitmq-discuss] how to test round robin behavior using Spring-AMPI API?
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
> > 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.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss