I think there is a batchtimeout which by default is 1sec. So, whichever comes first 'd kick in.
Julien D wrote: > > Hi everybody, > > I have a question about aggregation with the completionPredicate. What > does happen if somehow the predicate is never true ? > > For example if I have something like that : > > //Some camel code... > .aggregate().completionPredicate(header(Exchange.AGGREGATED_SIZE).isEqualTo(5) > > and the AGGREGATED_SIZE never reached 5. > > Does the thread hang forever ? > > -- View this message in context: http://old.nabble.com/Aggregator-and-completionPredicate-tp27550871p27551409.html Sent from the Camel - Users mailing list archive at Nabble.com.
