Re: String to Endpoint

2013-08-27 Thread Jose Espinosa
Thanks Tracy!! This is what I'm looking for. Jose On Fri, Aug 23, 2013 at 12:27 PM, Tracy Snell wrote: > 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

Re: String to Endpoint

2013-08-23 Thread Tracy Snell
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

Re: String to Endpoint

2013-08-23 Thread Jose Espinosa
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 wrote: > What endpoint will you use to fetch the webpage? Might be able to use > headers... > > On Thursday, August 22, 2013, Jose Espinosa wrote: > >>

Re: String to Endpoint

2013-08-22 Thread Christian Posta
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 "dynam

String to Endpoint

2013-08-22 Thread Jose Espinosa
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 ro