camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <>
Subject Re: Aggregate up to N "ASAP"
Date Mon, 27 Oct 2014 21:50:17 GMT
Hi Baris,

> Is there a way to aggregate the first 100 messages from a seda if >=100 are
> available, but just take however many are available if there are fewer?

As aggregating messages is a process, not a moment in time, you need
to specify some completion timeout duration. Too short timeout doesn't
really make sense, as router won't be able to collect anything in such
sort time.


Henryk Konsek

View raw message