camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From developpef <src...@orange.fr>
Subject Re: Split an empty list
Date Wed, 27 Feb 2013 12:28:09 GMT
Well, after my SPLIT I use an aggregation Strategy with completionPredicate
to Exchange.SPLIT_COMPLETE.

So if I understand, I would rather write :

.split(body(), myAggregationStrategy)
(... split operations ...)
.end()

rather than :

.split(body())
(... split operations ...)
.aggregate(...)
.completionPredicate(header(Exchange.SPLIT_COMPLETE).isEqualTo(Boolean.TRUE))

Am I right? And in the first case, will my aggregation strategy complete on
Exchange.SPLIT_COMPLETE as well?



-----
http://developpef.blogspot.com
--
View this message in context: http://camel.465427.n5.nabble.com/Split-an-empty-list-tp5728214p5728221.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message