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.

Reply via email to