I am thinking about both ways: 1) have camel listens on an existing servlet or 2) simply have camel serving the servlet and listening to it at the same time.
So, about option 2), using camel-jetty, how should I start up the whole thing as I figure it won't make sense to deploy the stuff in an appserver which in turns fire up a jetty instance. So, make an executable jar and run it "stand-alone" ? For option 1), I will take a look at your Axis link. Tack !!!! :) --- On Wed, 10/22/08, Claus Ibsen <[EMAIL PROTECTED]> wrote: > From: Claus Ibsen <[EMAIL PROTECTED]> > Subject: RE: Listening on Incoming HTTP & Jetty Component > To: [email protected], [EMAIL PROTECTED] > Date: Wednesday, October 22, 2008, 9:08 PM > 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...
