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 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 able to come up with a solution by using a loopDoWhile with a
> predicate. I manipulate the paging via a header value in the Exchange.
> 
> Are there better ways to solve this? Enrich? Aggregator?
> 
> Thanks for educating me on this !
> 
> Regards,
> /Tom
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to