Oh, sorry. I didn't notice you mentioned both parameters.
The number of concurrent consumers will start at 'concurrentConsumers' and Camel will increase until it reaches 'maxConcurrentConsumers'. There's no magic in the middle, like min iddle consumers.
On Nov 16, 2009 2:56pm, Claus Ibsen <claus.ib...@gmail.com> wrote:
On Mon, Nov 16, 2009 at 5:48 PM, Pavel pag...@gmail.com> wrote:
> Hello,
>
> I'm trying to figure out what degree of control do I have for JMS consumers.
> I'm using ActiveMQ.
>
> This page http://camel.apache.org/jms.html mentions 2 relevant parametersL
> concurrentConsumers
> Specifies the default number of concurrent consumers.
> maxConcurrentConsumers
> Specifies the maximum number of concurrent consumers.
> Can someone please clarify how camel decides on number of concurrent
> consumers, what affects this number, and how the params above are relevant?
>
Its spring-jms underneath. See the spring documentation, ie the
DefaultMessageListenerContainer
> Thanks,
> Pavel
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus