After further investigation, I see how besides closing the session and prior to that, a close call is made on ActiveMQMessageConsumer. So, there is no harm in commenting out consumers.add(consumer) even in the case of PollingConsumer.
vadim -- View this message in context: http://camel.465427.n5.nabble.com/Possible-memory-leak-in-org-apache-activemq-pool-PooledSession-tp4964951p5730233.html Sent from the Camel - Users mailing list archive at Nabble.com.