camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5692) Allow to create customized AggregateProcessor in AggregateDefinition
Date Mon, 08 Oct 2012 22:36:03 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471927#comment-13471927
] 

Raul Kripalani commented on CAMEL-5692:
---------------------------------------

Doesn't the {{completionPredicate}} on the aggregate EIP work for you? Take a look at [1].
It allows you to define an arbitrary condition to signal that the batch is complete.

Take a look at the unit tests here [2] if you need more examples than the website shows. 

[1] http://camel.apache.org/aggregator2.html#Aggregator2-UsingcompletionPredicate
[2] https://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator.
                
> Allow to create customized AggregateProcessor in AggregateDefinition
> --------------------------------------------------------------------
>
>                 Key: CAMEL-5692
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5692
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.1, 2.11.0
>            Reporter: Andreas Kuhtz
>         Attachments: CAMEL-5692.patch
>
>
> Allow to create customized AggregateProcessor in AggregateDefinition by adding an overrideable
method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message