Hi all,

I want to embed Camel in a WebApp.  The web app will be hosted in an
application server like JONAS (/tomcat or JETTY) or Weblogic.

I want to create a route like this
  <from   [MY CONSUMER ENDPOINT]  />
  <process ref="myProcessor" />
  <to [MY PRODUCER ENDPOINT] />

As camel is embedded in a webapp, I want to use the web container of the
application server to listen to http request ( I.E, I want to configure a
servlet to listen httpRequests and send back httpResponses).

Reading the doc, I didn't find the way to do this.
In examples, consumers are jetty or CXF but It seems they re create another
http listener and I don't want it.

I looked at the Axis example, It uses a ProducerTemplate
It is interesting but I don't know if I can use this kind of Producer
template to identify the [from] endpoint of a route.

The Second part of the question is how do I create a route for the response
received from my [MY PRODUCER ENDPOINT]

Regards, guillaume 

-- 
View this message in context: 
http://www.nabble.com/CAMEL-Servlet-Endpoint-tp20085692s22882p20085692.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to