See this FAQ
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html

On Sun, Aug 9, 2015 at 11:52 PM, anish.somadevan <netan...@gmail.com> wrote:
> Am trying to construct a dynamic URI using a value from header
>
> When i use in <to uri> it is not recognizing the value as a header
>
> <to uri=&quot;https://something.com/{$header.Provider}
>
> but when i use &lt;toD uri> i don't get any error, but the HTTP call is not
> being made.
>
> <toD uri="https://something.com{header.Provier}
>
> Am using Camel 10.2.3 jar due to some compatibility issues with my
> application. Is there a way i can construct dynamic URI and make HTTP calls?
>
> Please let me know if this is possible.
>
> Thanks,
> Anish
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Construct-Dynamic-URI-tp5770500.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to