Hi Yes see more in the documentation at http://camel.apache.org/aggregator2
the section called _about completion_ On Mon, Jan 18, 2016 at 9:59 AM, Vanshul.Chawla <[email protected]> wrote: > Hello All, > > We have a requirement wherein we need to aggregate some messages in Camel > > We need to aggregate 100 messages or aggregate for 2 minutes(whichever > happens first ie suppose route gets less than 100 messages within 2 minutes, > then it should spit out the aggregated exchange or if it gets more than 100, > it should spit out multiple exchanges in batches of 100 each). > > Could you please let me know can weuse completionTimeout as 12000 and > completionSize as 100 for this scenario? > > > Vanshul -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
