This is exactly like what I was looking for. However, I tried out the simple example defined in the link you provided and I keep getting this error:
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: Cannot find the deployed servlet, please configure the ServletComponent or configure a org.apache.camel.component.servlet.CamelHttpTransportServlet servlet in web.xml which appears to happen when the route is being read. Any ideas? willem.jiang wrote: > > Hi, > > If you don't want start the jetty engine, you can try to use the > camel-servlet[1] component. > > [1]http://camel.apache.org/servlet.html > > > Willem > > jfaath wrote: >> I've deployed my camel app as a web application in tomcat. Works great. >> The >> main starting point for my route is an http server endpoint using >> camel-jetty. So, it seems weird to me that tomcat starts and then starts >> a >> jetty instance. Is there any way to use the actual tomcat instance for >> this >> endpoint? Does this make any sense? >> >> Regards, >> >> JF > > > -- View this message in context: http://old.nabble.com/Deploying-as-web-app-with-jetty-endpoint-tp28171746p28184153.html Sent from the Camel - Users mailing list archive at Nabble.com.