Re: camel/restlet 1 endpoint for any path without list uris

2010-03-29 Thread Willem Jiang
Oh, my bad, you need to add this option (matchOnUriPrefix=true) on your camel-jetty endpoint. The URI should be "jetty://http://0.0.0.0:9080/?matchOnUriPrefix=true";, you can find more information about camel-jetty component here[1] [1]http://camel.apache.org/jetty.html Willem Tapdur wrote:

Re: camel/restlet 1 endpoint for any path without list uris

2010-03-29 Thread Willem Jiang
No, you don't need that, as camel-jetty will setup itself with the URI of the camel-jetty endpoint. Willem Tapdur wrote: Hi willem Thx for your answer, howerver, i launch my cammel route in a web-app / spring server, is there a web.xml configuration for camel-jetty ? i have error 404 with no

Re: camel/restlet 1 endpoint for any path without list uris

2010-03-29 Thread Tapdur
.isEqualTo("/greeting")).to("greetingService") >> .otherwise().throwException(new Exception()); >> >> >> this code generate http error 404 >> >> Thx >> Bruno >> >> > > > -- View this message in context: http://old.nabble.com/camel-restlet-1-endpoint-for-any-path-without-list-uris-tp28049159p28068882.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel/restlet 1 endpoint for any path without list uris

2010-03-29 Thread Tapdur
) >> .choice() >> >> .when(header("HTTP_PATH").isEqualTo("/greeting")).to("greetingService") >> .otherwise().throwException(new Exception()); >> >> >> this code generate http error 404 >> >> Thx >> Bruno >> >> > > > -- View this message in context: http://old.nabble.com/camel-restlet-1-endpoint-for-any-path-without-list-uris-tp28049159p28067729.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel/restlet 1 endpoint for any path without list uris

2010-03-28 Thread Willem Jiang
Hi, I don't think the camel-restlet can meet your requirement. But with the help of camel-jetty component, you can implement it easily. from("jetty:http://"+IgcProperties.get("igc.greeting.host")+":"+IgcProperties.get("igc.greeting.port")) .choice() .when(header("HTTP_PATH").isEqualTo("/greetin

camel/restlet 1 endpoint for any path without list uris

2010-03-26 Thread Tapdur
Exception()); this code generate http error 404 Thx Bruno -- View this message in context: http://old.nabble.com/camel-restlet-1-endpoint-for-any-path-without-list-uris-tp28049159p28049159.html Sent from the Camel - Users mailing list archive at Nabble.com.