Hi

camel-jetty is for exposing a http service. It will use jetty behind the covers 
listen on the uri given.

So if I understand your question correctly you want an existing servlet 
(myServlet) to route incoming request into Camel?

See for instance the AXIS tutorial that does this:
http://activemq.apache.org/camel/tutorial-axis-camel.html




Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: Coder One [mailto:[EMAIL PROTECTED] 
Sent: 23. oktober 2008 05:10
To: [email protected]
Subject: Listening on Incoming HTTP & Jetty Component

I have a service (maven, spring, tomcat) running at http://localhost/myServlet

So, I figure, to listen to mySe
rvlet, I need to define a route such as:

from("jetty:http://localhost/myServlet";)

So, my route and context is in the same context/process space as myServlet and 
the whole thing is deployed inside Tomcat

When does jetty come into play?  Is that just a "name/id" or do I need to run 
an actual Jetty server somehow?  Also, how does the jetty component acutally 
listen to calls to myServlet?  How does it intercept the call?  Does it use 
filters?

If there is an example somewhere, please point me to it:)

Thanks...


      

Reply via email to