[ 
https://issues.apache.org/activemq/browse/CAMEL-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40631
 ] 

James Strachan commented on CAMEL-207:
--------------------------------------

BTW I fixed the failing SpringAggregatorTest by using the new <methodCall 
bean="foo" method="whatnot"/> expression for example

{code}
    <route>
      <from uri="direct:predicate"/>
      <aggregator strategyRef="myAggregatorStrategy">
        <simple>header.cheese</simple>
        <to uri="mock:result"/>
        <completedPredicate>
          <methodCall bean="myAggregatorStrategy" method="isCompleted"/>
        </completedPredicate>
      </aggregator>
    </route>
{code}

> support a Predicate based Aggregator so that rather than batch size or batch 
> timeout, we use a predicate to determine when an aggregator has finished
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-207
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-207
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>         Attachments: aggregation.patch, aggregation2.patch
>
>


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