This content has been marked as final.
Show 2 replies
-
1. Re: Jetty:http endpoint issue
davsclaus Feb 4, 2011 12:50 AM (in response to woggle23)You end up with 2 jetty servers.
When you do
from(jetty) in a Camel route, then that becomes the server.
So instead dont start the Jetty server, but only Camel.
And then from a web browser hit that url
On the other hand if you want Camel to call an external http service, then you should use the http component.
-
2. Re: Jetty:http endpoint issue
njiang Feb 8, 2011 9:14 PM (in response to woggle23)camel-jetty consumer will start a new Jetty server when the consumer is stared.
If you want to leverage a web container to manager the http services, you may consider to use the camel-servlet component.
Willem