[rabbitmq-discuss] Is it possible to set concurrent consumers at runtime?

Rajasekhar P sekhar434145 at gmail.com
Mon Nov 25 12:25:10 GMT 2013


Hi Team,

    I have the requirement where I have set the concurrent consumers size
at run-time without restarting the RabbitMQ server based on the load. Is
that possible? Am using Spring-AMQP API for setting concurrent consumers.
Could you please help me on this.

SimpleMessageListenerContainer container = new
SimpleMessageListenerContainer();
container.setConcurrentConsumers(2);


Thanks in advance!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131125/550e75b3/attachment.htm>


More information about the rabbitmq-discuss mailing list