I'm having the same issue with DefaultMessageListenerContainer endlessly
creating threads.
Active MQ 1.5.2
Spring 2.5.6
I've tried specifying the taskExecutor and executorService, but it still
burns through threads.
<bean id="camelThreadPool"
class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
<property name="corePoolSize" value="1"/>
<property name="maxPoolSize" value="1"/>
</bean>
<bean id="camelExecutorService"
class="java.util.concurrent.ScheduledThreadPoolExecutor">
<constructor-arg value="1"/>
<property name="maximumPoolSize" value="1"/>
</bean>
<bean id="camelJmsComponent"
class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory"
ref="jmsCachingConnectionFactory"/>
<property name="taskExecutor" ref="camelThreadPool"/>
<property name="executorService" ref="camelExecutorService"/>
</bean>
Any help would be appreciated.
--
View this message in context:
http://www.nabble.com/DefaultMessageListenerContainer-threading-issue-tp18811410s22882p20981419.html
Sent from the Camel - Users mailing list archive at Nabble.com.