Hi Are you still having problems with this one?
Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: seven [mailto:[EMAIL PROTECTED] Sent: 4. august 2008 15:36 To: [email protected] Subject: DefaultMessageListenerContainer threading issue Hello, I have a simple camel app that has some jms queue endpoints and I observed using JConsole that the app keeps creating threads with DefaultMessageListenerContainer-xxxx names every few seconds. I have digged through the forums and other sources and found out that setting CACHE_CONSUMER cache level on the DefaultMessageListenerContainer should solve this problem. Unfortunately it does not or I am doing something wrong. Here is a snipped from the configuration file I use: [code] <util:constant id="tt" static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP"/> <bean id="jmsConnectionFactory" class="com.ibm.mq.jms.MQConnectionFactory"> <property name="queueManager" value="ROTSQMTEST" /> <property name="channel" value="ROTSCHANNEL" /> <property name="port" value="1415" /> <property name="hostName" value="192.168.254.80" /> <property name="transportType" ref="tt" /> </bean> <util:constant id="CL" static-field="org.springframework.jms.listener.DefaultMessageListenerContainer.CACHE_CONSUMER"/> <bean id="bvbmq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory" ref="jmsConnectionFactory"/> <property name="cacheLevel" ref="CL"/> </bean> [/code] BTW I am using apache-camel-1.4.0 and springframework-2.5.3 Any help would be appreciated. Regards, Horia -- View this message in context: http://www.nabble.com/DefaultMessageListenerContainer-threading-issue-tp18811410s22882p18811410.html Sent from the Camel - Users mailing list archive at Nabble.com.
