Hi Thanks Tomohisa Igarashi .Its very useful.
can I do unmarshall for a file ? I need to save invoked rest webservice json
in a json file (product.json) and then I need to unmarshal this as a POJO
...like below 

    .to("http://localhost:8081/products/toDayDate=20161121";) .
to("file:output/product.json")
    .unmarshal() 
     .json() 
 .split(simple("${body.getProductList}")) 
     .setHeader(Exchange.HTTP_URI,
simple("http://localhost:8081/price/${body.getProductId}";)). 
     to("file:output")
 .end(); 



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-invoking-one-rest-webservice-json-response-list-property-values-to-another-rest-webservice-in-tp5790258p5790412.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to