Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C686411971 for ; Wed, 27 Aug 2014 03:56:58 +0000 (UTC) Received: (qmail 9551 invoked by uid 500); 27 Aug 2014 03:56:58 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 9316 invoked by uid 500); 27 Aug 2014 03:56:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 9288 invoked by uid 99); 27 Aug 2014 03:56:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 03:56:58 +0000 Date: Wed, 27 Aug 2014 03:56:58 +0000 (UTC) From: "Ben O'Day (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7434) Provide a way to force the completion of a aggregate exchange from an external event MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111808#comment-14111808 ] Ben O'Day commented on CAMEL-7434: ---------------------------------- [~spetrucci], if you have a potential patch for this, attach it and I'll try to work it in...thanks > 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: Ben O'Day > Fix For: Future > > > 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)