No, you can't start a jetty-http-endponit with that configuration.
Since the jetty-http component will start a Jetty connector and setup
the servlet for listening the http request and call the camel processor
for further processing.

If you want leverage the Tomcat or other web container to do Http
transport work, you'd better to follow the example that Claus showed.
That is because you can use the produce template to send the request to
whatever endpoint of the camel context, at the same time you can
configure your servlet endpoint without messing up the port the context
path on the container side.

Just my 2 cents.

Willem


pevgen wrote:
> Thank you.
> Of couse, i red this article. But i don't uderstand how i can listen on a
> jetty-http-endpoint in exaple's configuration ?
> 
> 
> 
> Claus Ibsen-2 wrote:
>> On Fri, Mar 27, 2009 at 3:48 PM, pevgen <[email protected]> wrote:
>>> Hello.
>>>
>>> Can i deploy my http-consumer-endpoint (like jetty-endpoint) in Tomcat or
>>> other j2ee server ?
>> Yes see this link
>> http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html
>>
>> eg you can package your application as a standard .war file and deploy
>> it in Tomcat or J2ee server
>>
>>> Thank you.
>>> Evgeny
>>> --
>>> View this message in context:
>>> http://www.nabble.com/jetty-component-%3A-deploy-into-Tomcat-or-other-j2ee-server-tp22743212p22743212.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
> 

Reply via email to