Hi, >From the documentation : http://camel.apache.org/http4.html
*********************************** You can override the HTTP endpoint URI by adding a header with the key, HttpConstants.HTTP_URI, on the message. from("direct:start") .setHeader(HttpConstants.HTTP_URI, constant("http://newhost")) .to("http4://oldhost"); In the sample above Camel will call the http://newhost despite the endpoint is configured with http4://oldhost. Where Constants is the class, org.apache.camel.component.http4.Constants. *********************************** But HttpConstants.HTTP_URI or Constants doesn't exist anymore. If I try using Exchange.HTTP_URI instead, it doesn't work. Here is the unit test I made : http://paste.org/60553 There will be a Jira issue here : "Creating it right now" Thanks for looking into this ! -- View this message in context: http://camel.465427.n5.nabble.com/Found-a-bug-in-overriding-URI-using-camel-http4-documentation-problem-tp5726005.html Sent from the Camel - Users mailing list archive at Nabble.com.