On Mon, Aug 1, 2011 at 5:12 PM, Tommy Chheng <[email protected]> wrote:
> I'm using camel 2.7.2 and connecting to an ActiveMQ queue with
> concurrentConsumers=2&maxConcurrentConsumers=20
>
> Should the current # of concurrent consumers dynamically adjust due to
> message volume from activemq?
>
> At the start, when there are 0 messages, the # of consumers is 2.
> When I have a large volume, the # of consumers goes up to 20, but after the
> volume goes back to 0, the current # of consumers still remain at 20.
>

The threads should have a idel time, that after X period should cause
them to terminate.
Check the spring documentation as its the spring-jms message listener
container, that is used
when consuming messages.


> I'm checking the # of consumers using the activemq web console.
>
> Any ideas how to make the # of consumers go back to 2 when there's no
> volume?
>
> --
> @tommychheng
> http://tommy.chheng.com
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to