Yes, it's possible. But the to EIP is not dynamic. You need to use
<recipientList /> instead.

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Sun, Aug 9, 2015 at 10: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.
>

Reply via email to