Hi

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

On Tue, Jan 12, 2016 at 7:59 PM, Michele
<michele.mazzi...@finconsgroup.com> wrote:
> Hi everyone,
>
> How to create dynamically uri for Jetty Component retrieving info in header
> of exchange?
>
> Es.
>
> <route >
>    <from uri="...."/>
>      <setHeader
> headerName="CRMTicketId"><simple>${body[id]}</simple></setHeader>
>     <marshal ref="Gson" />
>     <inOut
> uri="jetty:host/static-path/$simple{in.headers.CRMTicketId}?matchOnUriPrefix=true"
> />
>     <log message="Received Message ${body}" />
> </route>
>
> Thanks in advance.
>
> Best Regards
>
> Michele
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Jetty-Producer-Dynamic-uri-based-on-info-in-header-tp5776187.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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

Reply via email to