Hi, I use IBM MQ not ActiveMQ but I considered wrapping MQ conn. factory with Spring impl. but anyway caching is always about performance boosts so the calling code does not create expensive objects over and over if not needed. However if not caching it should not result in memory leak. Resoruces need to be cleaned up anyway whether caching or not or returned to pool where there is only configured amount of resources kept.
-- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-memory-leaking-with-IBM-MQ-tp5751442p5751451.html Sent from the Camel - Users mailing list archive at Nabble.com.