Re: How to consume remote rest url and how to write given json response in a text file.

2016-10-13 Thread xenz
Hello., Have you looked at http://camel.apache.org/http4.html and http://camel.apache.org/file2.html You can use toD for the dynamic bit on the http4 consumer to add your variables. I am not exactly what you are looking for but hopefully this is a good start. - J On Thu, 13 Oct 2016, 21:26 Gun

Re: How to consume remote rest url and how to write given json response in a text file.

2016-10-12 Thread Tomohisa Igarashi
You can pass the HTTP parameters dynamically via Exchange.HTTP_QUERY message header. http://camel.apache.org/http.html On 10/12/2016 09:55 PM, Gunjara wrote: Hi Tomohisa Igarashi, Thanks for your reply. I need to pass parameters dynamically like http://yourhost.domain/path/to/rest/resource/prod

RE: How to consume remote rest url and how to write given json response in a text file.

2016-10-12 Thread Goyal, Arpit
e rest url and how to write given json response in a text file. Hi Tomohisa Igarashi, Thanks for your reply. I need to pass parameters dynamically like http://yourhost.domain/path/to/rest/resource/productid=1234&date=10122016 . How I can do that , please help me . If you have any sample gi

Re: How to consume remote rest url and how to write given json response in a text file.

2016-10-12 Thread Gunjara
Hi Tomohisa Igarashi, Thanks for your reply. I need to pass parameters dynamically like http://yourhost.domain/path/to/rest/resource/productid=1234&date=10122016 . How I can do that , please help me . If you have any sample git code plz send me. Regards, Gunjara -- View this message in contex

Re: How to consume remote rest url and how to write given json response in a text file.

2016-10-12 Thread Tomohisa Igarashi
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 a