Set the header: Exchange.HTTP_URI String URI to call. Will override existing URI set directly on the endpoint.
http://camel.apache.org/http4.html As the above says, that'll override whatever address is in the .to. So .to("http4://nowhere.com") will be replaced by Exchange.HTTP_URI if it exists. On Aug 23, 2013, at 1:03 PM, Jose Espinosa <j...@revinate.com> wrote: > They are http endpoints. Headers will definitely do the job but I > haven't find a way to do it. > > On Thu, Aug 22, 2013 at 5:37 PM, Christian Posta > <christian.po...@gmail.com> wrote: >> What endpoint will you use to fetch the webpage? Might be able to use >> headers... >> >> On Thursday, August 22, 2013, Jose Espinosa wrote: >> >>> Hi, >>> >>> >>> I am writing a route that needs to fetch data from a webpage, the >>> source webpage depends of the input message. My current >>> implementation uses "dynamicRouter" but the need of track multiple >>> calls (I just need to go to fetch the data once) is a big turn off. >>> >>> >>> Is there a way to make dynamic routes without using "dynamicRouter"? >>> Or a way to dynamically transform a single value to an endpoint? >>> >>> >>> Thanks, >>> >>> Jose Espinosa >>> >> >> >> -- >> *Christian Posta* >> http://www.christianposta.com/blog >> twitter: @christianposta