// use the ones that is pre configured with this type
if (aggregationCollection.getCorrelationExpression() == null) {
aggregationCollection.setCorrelationExpression(getExpression());
}
if (aggregationCollection.getAggregationStrategy() == null) {
AggregationStrategy strategy = createAggregationStrategy(routeContext);
aggregationCollection.setAggregationStrategy(strategy);
}
aggregator = new Aggregator(from, processor, aggregationCollection);
} else {
// create the aggregator using a default collection
AggregationStrategy strategy = createAggregationStrategy(routeContext);
Expression aggregateExpression = getExpression().createExpression(routeContext);
Predicate predicate = null;
if (getCompletedPredicate() != null) {