camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: change url dynamically in to element
Date Thu, 05 Nov 2015 11:11:08 GMT
See this FAQ
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html

On Thu, Nov 5, 2015 at 12:09 PM, Ishada <abhisheksinghbeit@gmail.com> wrote:
> My query contains a simple logic which is as follows
> from(jms endpoint)
>       .process(new SomeProcessor)
>       .to(some http url);
>
> I am getting a json data from jms endpoint. The data contains HOST NAME ,
> QUERY PARAMS , etc and based on this data I am creating a
> https://hostname/queryparams in SomeProcessor, now I need this to pass it to
> the To element. I have set this value in headers. How can  I access this
> value in To element?
> Please help.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/change-url-dynamically-in-to-element-tp5773388.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

Mime
View raw message