I am getting Route exception if i give the route in following manner:
<camel:route>
<camel:from
uri="file://[directory path]" />
<camel:setHeader headerName="header1">
<camel:xpath>/order/item/id</camel:xpath>
</camel:setHeader>
<camel:to
uri="http://localhost:9002/REST-Webservice/rest/{header1}/WebService" />
</camel:route>
Where am i going wrong? I see the test case executed in the same manner.
Thanks,
Deepthi
--
View this message in context:
http://camel.465427.n5.nabble.com/Setting-url-params-in-REST-call-with-Camel-tp2257861p5716890.html
Sent from the Camel - Users mailing list archive at Nabble.com.