If you don't set any ConnectionFactory on the ActiveMQ component, you should have pooling setup correctly which should pool a single connection. e.g. just set the brokerURL property on the ActiveMQ component.
Whats your spring XML look like? On 4 April 2011 16:54, Tom Howe <[email protected]> wrote: > I have a simple route that goes > > from("file:/some/path").to("activemq:some/queue"); > > From truss and activeMq admin page, I notice that it is constantly > connecting/closing the connections. > > Is there a way to make the endpoint retain a connection to make it more > efficient? > > Thanks, Tom > -- James ------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: jstrachan, fusenews Blog: http://macstrac.blogspot.com/ Connect at CamelOne May 24-26 The Open Source Integration Conference http://camelone.com/
