camel-issues mailing list archives

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

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

Andreas Kuhtz commented on CAMEL-5692:
--------------------------------------

This would allow me to overwrite the AggregateProcessor and use the overwritten AggregateDefintion
to prepare the aggregator. 
I've the case where some events must be aggregated (some events stored in a list and some
combined by incrementing the counter) until a "commit finished" event is received. When the
aggregation is completed (by the "commit finished" event) the events stored in a list must
be published.
Another thing is that the AggregateProcessor.onSubmitCompletion() is private I cannot simply
overwrite it to send all messages in the aggregationRepository.

Maybe I miss something and there is a better solution for this (... and I should have asked
that on the mailing list, sorry).
                
> 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