Is .to("http://yourhost.domain/path/to/rest/resource").to("file:outputDir") insufficient for you?
On 10/12/2016 05:28 PM, Gunjara wrote:
Hi Any Body can help me on this. How to consume remote rest url and how to write given json response in a text file. like have Order ,Price endpoint urls are there i need to consume those urls ,take that into pojo and generated json in a text file. Regards, Gunjara -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-remote-rest-url-and-how-to-write-given-json-response-in-a-text-file-tp5788666.html Sent from the Camel - Users mailing list archive at Nabble.com.