You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Susan Javurek (JIRA)" <ji...@apache.org> on 2014/05/12 22:05:15 UTC

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

Susan Javurek created CAMEL-7434:
------------------------------------

             Summary: 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: Improvement
            Reporter: Susan Javurek


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.2#6252)