Re: Current best way to consume paged REST api / Web service

2019-10-18 Thread Tom Coudyzer
Hi, Would it be possible to describe or give a sample how to aggregate/enrich a paged REST API where the page interval is part of the JSON payload that is part of each HTTP request? Thank you.. On Wed, Oct 16, 2019 at 4:55 PM Jean-Baptiste Onofré wrote: > Hi Tom, > > You can also use a poll en

Re: Current best way to consume paged REST api / Web service

2019-10-16 Thread Tom Coudyzer
Hi, Thank you for the answer! The way the API is consumed is via a payload in which you need to set an offset and pagesize. So it's an iteration of HTTP POST calls with a different payload Don't know if this could help to specify which pattern / approach is the best to follow in this case? Than

Re: Current best way to consume paged REST api / Web service

2019-10-16 Thread Jean-Baptiste Onofré
Hi Tom, You can also use a poll enricher with a aggregation. All depends about the trigger to call the webservice. Regards JB On 16/10/2019 16:52, Tom Coudyzer wrote: > Hi, > > I just started on learning Apache Camel, so please forgive me my basic > questions. > > I'm having a webservice call

Current best way to consume paged REST api / Web service

2019-10-16 Thread Tom Coudyzer
Hi, I just started on learning Apache Camel, so please forgive me my basic questions. I'm having a webservice called via POST having a payload with paging information in it. What is the best way currently in Camel to produce an output which contains the consolidated values from the calls. I was