Spring AMQP
  1. Spring AMQP
  2. AMQP-306

Add dynamic scaling of consumers via message listener container

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.3.0.M1
    • Component/s: RabbitMQ
    • Labels:

      Description

      Would be great to have dynamic scaling of the consumers with Spring AMQP. Currently there is just the configurable concurrentConsumers in the SimpleMessageListenerContainer, which creates all of the threads up front. Having a maxConcurrentConsumers similar to what is provided with the JMS DefaultMessageListenerContainer which facilitates under the covers dynamic scaling of the threads would be great.

        Activity

        Hide
        Gary Russell added a comment -

        This will be rather tricky to implement with the current architecture of the listener container; I am therefore moving this to the backlog and making it a sub-task of AMQP-322, the implementation of which will facilitate a much easier implementation of this feature.

        Show
        Gary Russell added a comment - This will be rather tricky to implement with the current architecture of the listener container; I am therefore moving this to the backlog and making it a sub-task of AMQP-322 , the implementation of which will facilitate a much easier implementation of this feature.
        Hide
        Gary Russell added a comment -
        Show
        Gary Russell added a comment - PR for review: https://github.com/spring-projects/spring-amqp/pull/126

          People

          • Assignee:
            Gary Russell
            Reporter:
            Brian Hicks
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: