You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2008/09/22 11:42:52 UTC

[jira] Created: (CAMEL-928) Add a property with the name of Exchange.AGGREGATED_COUNT for countting the aggregated exchange

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.


[jira] Resolved: (CAMEL-928) Add a property with the name of Exchange.AGGREGATED_COUNT for countting the aggregated exchange

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-928.
--------------------------------

    Resolution: Fixed

> 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.