BTW there is a WAR I've been using for testing that creates a camel context and uses ActiveMQ - then creating a web console to let you interact with ActiveMQ endpoints (sending messages and browsing queues etc)... https://svn.apache.org/repos/asf/camel/trunk/components/camel-activemq-web/
for more information see http://camel.apache.org/web-console.html though it does depend on trunk though! But once 2.0 is out you'll be able to reuse this - and use it as a base to create your own WAR complete with the Camel web console 2009/2/24 Markus Wolf <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I try to deploy a camel context using spring inside Tomcat6 with ActiveMQ. > > We have the following setup: > CATALINA_HOME > /lib/ext/activemq.jar > /lib/ext/camel-core.jar > /webapp/ROOT/WEB-INF/lib/camel-jms.jar > /webapp/ROOT/WEB-INF/lib/camel-spring.jar > /webapp/ROOT/WEB-INF/lib/spring-and-dependencies.jar > > When we start our tomcat we get a ClassNotFoundException for the > org.apache.camel.component.jms.JmsComponent. And now I'm unsure how to > deploy the whole thing 'the right way'. > When we put activemq with camel-core into our webapp we have classloader > leaks and cannot undeploy our application. > When we put camel-jms into the lib/ext folder of tomcat we are forced to > place the whole spring and dependencies there also. That seems wrong to > me also. > > Can anyone give me a hint about the deployment? > Thanks > Markus Wolf > - -- > NMMN - New Media Markets & Networks GmbH > Geschäftsführung: Kfm. Michael Schütt > Finanzamt HH-Altona UStID DE 812 699 852 HRB 71102 Hamburg > HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82 > > http://www.nmmn.com Tel.: +49 40 284 118 -0 > Langbehnstrasse 6 Entwicklung: -720 > 22761 Hamburg Fax: -999 > > Rufen Sie uns kostenlos an: http://www.nmmn.com/call/software > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmj91gACgkQDBHISU1oEKFSYACfUsgx01wj1UcLbQr2trc8m/Gv > gVUAn22zloCis2pjVjSlLPz6fBLyqghs > =7swM > -----END PGP SIGNATURE----- > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
