camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <hekon...@gmail.com>
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.

Cheers.

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Mime
View raw message