Re: camel-servlet / Karaf / War / Tomcat

2010-01-06 Thread Charles Moulliard
yep but in this case, we create a dependency between CamelHttpTransportServlet and Karaf bootsrap class. This is not really important as I'm not sure that using camel + karaf or SMX4 embedded in a WAR is the best choice. It is better to create a classical WAR in this case containing camel/spring

camel-servlet / Karaf / War / Tomcat

2010-01-05 Thread Charles Moulliard
Hi, I have packaged my OSGI project including camel context in a WAR file. This WAR file contains Felix Karaf server which is started by the Tomcat Web Application Server though a bundle activator. My camel context uses camel-servlet endpoint to have access to servlet published by Tomcat

Re: camel-servlet / Karaf / War / Tomcat

2010-01-05 Thread Willem Jiang
Hi Charles, I think if you can make sure the servlet is deployed before the camel context started, the camel-servlet endpoint can get the access the CamelHttpTransportServlet instance. As the CamelHttpTransportServlet and Karaf are using the same classloader, I think it should be OK for