Re: Pass the properties for each request coming between the route definitions

2017-03-19 Thread Taariq Levack
You're looking for "dynamic to", depending on your Camel version you may have to use the recipient list eip instead. See this faq http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html Cheers, Taariq On 19 Mar 2017 3:23 PM, "vcamel9" wrote: I am unable to pass

Re: Pass the properties for each request coming between the route definitions

2017-03-19 Thread Claus Ibsen
Use { } in the restlet uri as it supports REST placeholders. And then use a header for the orderId as that is what { } refers to. An alternative is to use dynamic-to which works for any Camel endpoint http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html On Sun, Mar 19, 2017 at 2:23 PM,

Pass the properties for each request coming between the route definitions

2017-03-19 Thread vcamel9
I am unable to pass properties using setProperty or setheader Please see below? What is the best way? I tried both ways(with header and property) but restlet uri definition is not able to find the property value for . http://camel.apache.org/schema/spring;>