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

Michael Klishin mklishin at gopivotal.com
Tue Oct 22 10:41:56 BST 2013

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.


More information about the rabbitmq-discuss mailing list