camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xenz <jmaguire....@gmail.com>
Subject Re: How to consume remote rest url and how to write given json response in a text file.
Date Thu, 13 Oct 2016 08:38:02 GMT
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 Gunjara <mgunjara.galaxe@gmail.com> wrote:

> Hi someone can help me on this,
>
> How to consume remote rest url and how to write given json response in a
> text file.
>
> i have remote url like this
> http://yourhost.domain/path/to/rest/resource/productid=1234&date=10122016
>
> I need how to add parameters dynamically.
> and i need to consume that if i use poster give url like this
> http://localhost/path/to/rest/resource/productid=1234&date=10122016
>
>
>
> --
> 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-tp5788712.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message