You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/03/21 10:06:38 UTC

[jira] [Resolved] (CAMEL-7434) Provide a way to force the completion of a aggregate exchange from an external event

     [ https://issues.apache.org/jira/browse/CAMEL-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-7434.
--------------------------------
    Resolution: Fixed

There is now a aggregate controller to do this from java code. And its exposed in JMX operations on the aggreate mbean

> Provide a way to force the completion of a aggregate exchange from an external event
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7434
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7434
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, eip
>    Affects Versions: 2.13.0
>            Reporter: Susan Javurek
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> There is a way to do this by creating a "trigger" exchange that is handled in a special way by the aggregation strategy and a completion predicate. But this solution is quite intrusive and painful to write.
> It would actually be much easier if the AggregateProcessor would implement and expose the following methods:
> public void forceCompletionOfGroup(String key)
> public Expression getCorrelationExpression()
> This way, it becomes possible to control "externally" an aggregator without having to implement some intrusive logic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)