camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel aggregation doubt
Date Mon, 18 Jan 2016 09:13:00 GMT
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
<Vanshul.Chawla@target.com> 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

Mime
View raw message