Dynamic scaling of JMS consumer in spring boot
问题 I am trying to build a spring-boot application which will read data from a activeMQ producer. I want to resources available on customer to the optimum.In my spring-boot application, I want to configure multiple consumers and all these consumer will connect to a single queue. Is their a way I can dynamically scale up and scale down the consumers on sprint-boot application? 回答1: the consumers your are talking about, are different thread of the DefaultMessageListenerContainer or different