2009/2/24 Markus Wolf <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >>> this approach does not help me, since when the ActiveMQ is created by >>> tomcats webapplication classloader it cannot be undeployed. >> >> You don't have to create the broker in the WAR (or you could put it in >> another WAR). This approach works totally fine if you are using the >> ActiveMQ JMS client with Camel. >> > But it requires to put the activemq-core dependency to the webapp for > creating the ConnectionFactory for ActiveMQ, doesn't it? Or am I missing > something here.
Yes. How else could you use ActiveMQ from a web app? > Even starting the ConnectionFactory produce memory leaks in the webapp > classloader. Not sure what you mean by "memory leak in the web app class loader". Do you consider adding a class to a class loader a leak? :) -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
