You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by vsk <va...@yahoo.com> on 2015/11/22 13:19:45 UTC
Camel JMSConsumer creating lots of ActiveMQ Session Task
Hi,
We are using Camel in a Spring Boot application. Need help to tuning the JMS
Client.
Am seeing lots of ActiveMQ Session Task & Inactivity Monitor Threads. How do
i reduce these threads?
Visual VM Output shows all the session task aren't doing anything..
Appreciate your help
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMSConsumer-creating-lots-of-ActiveMQ-Session-Task-tp5774232.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel JMSConsumer creating lots of ActiveMQ Session Task
Posted by vsk <va...@yahoo.com>.
Yes. The connections are pooled.
PooledConnectionFactory pooled = new
PooledConnectionFactory(coreConnectionFactory);
pooled.setMaxConnections(2);
pooled.setMaximumActiveSessionPerConnection(3);
component.setUsePooledConnection(true);
component.setConnectionFactory(pooled);
component.setConfiguration(jmsConfiguration);
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMSConsumer-creating-lots-of-ActiveMQ-Session-Task-tp5774232p5774557.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel JMSConsumer creating lots of ActiveMQ Session Task
Posted by zpyoung <zp...@gmail.com>.
Are you pooling the connection?
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMSConsumer-creating-lots-of-ActiveMQ-Session-Task-tp5774232p5774545.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel JMSConsumer creating lots of ActiveMQ Session Task
Posted by vsk <va...@yahoo.com>.
Appreciate your support
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMSConsumer-creating-lots-of-ActiveMQ-Session-Task-tp5774232p5774318.html
Sent from the Camel - Users mailing list archive at Nabble.com.