Hi,

I am trying to set parameter dynamically in uri in the following manner:
              <camel:route>
                        <camel:from
                                uri="file://[folder path]" />
                        <camel:setHeader headerName="id">
                                       
<camel:xpath>/order/item/id</camel:xpath>
                        </camel:setHeader>
                        <camel:to
                               
uri="http://localhost:9002/rest/{id}/RestService"; />
                </camel:route> 

Is this the right way to set the parameter? If not, how can I achieve this?
I am using camel 2.8.0.




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-parameter-dynamically-in-uri-tp5716959.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to