In general, you can set concurrentConsumers
and maxConcurrentConsumers
on the DefaultMessageListenerContainer. The concurrency
setting gives this as a convenient range.
But according to the docs
Specify concurrency limits via a "lower-upper" String, e.g. "5-10", or a simple upper limit String, e.g. "10" (the lower limit will be 1 in this case).
So if you just say concurrency=100
, it's still equivalent to 1-100
, which would explain why you're seeing 1 consumer.