title: How to add/remove consumers at run time in spring amqp?
body: <p>I have certain number of listeners running on each server which is equal to listener concurrency. Below is configuration</p>
  
  <pre><code>&lt;rabbit:listener-container
      connection-factory="rabbitConnectionFactory" concurrency="${compute.listener.concurrency}"
      requeue-rejected="false" prefetch="1"&gt;
      &lt;rabbit:listener queues="${compute.queue}" ref="computeListener"
          method="run" /&gt;
  &lt;/rabbit:listener-container&gt;
  </code></pre>
  
  <p>Is there any way to add/remove number of listeners on any server at run time while my job is running without making changes to this setting and redeploying the application ? </p>
  
  <p>May be some command line tool to add/remove number of consumers at run time?</p>