I have to look into the code to confirm this but I think that if you set the completionPredicate and you do not set the batchTimeout, the batchTimeout by default will not be active.
lekkie wrote: > > 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-tp27550871p27552240.html Sent from the Camel - Users mailing list archive at Nabble.com.
