Hello,
We externalized all our spring configuration parameters to be able to modify them easily in production environment.
We a group of servers that run our application and we would like to have only some dedicated servers to listen to queues and process messages. The same code/application is deployed on all servers, but they have different configuration settings.
In this particular case, we need to set the number of concurrent consumers to 0 for those which are not supposed to listen/consume messages. The current implementation (1.1.2 and 1.1.3) throws an exception on 0.
<rabbit:listener-container connection-factory="myConnectionFactory" concurrency="${noOfConsumers}" >
<rabbit:listener ref="..." queues="..." />
</rabbit:listener-container>
We appreciate if it can be fixed in the next release, or if there is any other workaround to disable queue consumers on a server.
Thanks,


Reply With Quote