title: Rabbitmq concurrent consumers in Spring boot
body: <p>I'm using @RabbitListener annotation and SimpleRabbitListenerContainerFactory bean for parallel execution of rabbitmq messages and setting the min and max concurrent consumers in the following way : </p>
  
  <pre><code>@Bean
  public SimpleRabbitListenerContainerFactory rabbitListenerContainerFactory() {
      SimpleRabbitListenerContainerFactory factory = new SimpleRabbitListenerContainerFactory();
      factory.setConnectionFactory(connectionFactory());
      factory.setConcurrentConsumers(MIN_RABBIT_CONCURRENT_CONSUMERS);
      factory.setMaxConcurrentConsumers(MAX_RABBIT_CONCURRENT_CONSUMERS);
      factory.setConsecutiveActiveTrigger(1);
      factory.setAcknowledgeMode(AcknowledgeMode.MANUAL);
      return factory;
  }
  </code></pre>
  
  <p>The min limit is 3 and the max limit is 10. With this configuration, only 3 messages are getting executed parallelly, even though there are 12 messages in the queue. </p>
  
  <p>Please tell me what is wrong with the config?</p>