Add a property with the name of Exchange.AGGREGATED_COUNT for countting the 
aggregated exchange
-----------------------------------------------------------------------------------------------

                 Key: CAMEL-928
                 URL: https://issues.apache.org/activemq/browse/CAMEL-928
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 1.5.0


You can use this property for the aggregator's completed predicate.
{code}
from("direct:aggregator").aggregator(header("cheese"), new 
BodyInAggregatingStrategy()).
                
completedPredicate(header(Exchange.AGGREGATED_COUNT).isEqualTo(3)).to("mock:result");
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to