camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Watkins <joshua.watk...@gamesys.co.uk>
Subject Re: How to get full control over threads used by JMS/ActiveMQ component?
Date Fri, 25 Nov 2011 09:57:13 GMT
I was able to limit the number of threads by setting the consumerType to
simple and the taskExecutor to a spring ThreadPoolTaskExecutor
bean that I created. I didn't use the ThreadPoolProfile class.

I hope this helps.

On 24/11/2011 22:19, "Jason Dillon" <jason@planet57.com> wrote:

>rType(ConsumerType.Simple);
>ActiveMQComponent jms = new ActiveMQComponent(jmsConfig);
>


Mime
View raw message