camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien D <myrddi...@hotmail.com>
Subject Aggregator and completionPredicate
Date Thu, 11 Feb 2010 17:11:28 GMT

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-tp27550871p27550871.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message