<div dir="ltr">Thank you Russell for the clarification and Voted in <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">JIRA tracker </span>as well.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Nov 25, 2013 at 7:10 PM, Gary Russell <span dir="ltr">&lt;<a href="mailto:grussell@gopivotal.com" target="_blank">grussell@gopivotal.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">You cannot currently change the listener container&#39;s concurrent consumers at runtime. We have an open JIRA issue [1] for that; vote it up!<div><br></div><div>You can, however, stop the container, change the setting and restart the container (stop(), setConcurrentConsumers(int), start()).</div>

<div><br></div><div>You do not have to restart the RabbitMQ server.</div><div><br></div><div>[1]: <a href="https://jira.springsource.org/browse/AMQP-306" target="_blank">https://jira.springsource.org/browse/AMQP-306</a></div>
</div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 25, 2013 at 7:25 AM, Rajasekhar P <span dir="ltr">&lt;<a href="mailto:sekhar434145@gmail.com" target="_blank">sekhar434145@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi Team,<div><br></div><div>    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.</div>


<div><br></div><div><div>SimpleMessageListenerContainer container = new SimpleMessageListenerContainer();</div><div>container.setConcurrentConsumers(2);</div></div><div><br></div><div><br></div><div>Thanks in advance!!!</div>


</div>
<br></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>