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.

Reply via email to