Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 78559 invoked from network); 10 Jun 2009 09:51:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 09:51:52 -0000 Received: (qmail 44313 invoked by uid 500); 10 Jun 2009 09:52:04 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 44269 invoked by uid 500); 10 Jun 2009 09:52:04 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 44258 invoked by uid 500); 10 Jun 2009 09:52:04 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 44255 invoked by uid 99); 10 Jun 2009 09:52:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 09:52:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 09:51:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A456234C046 for ; Wed, 10 Jun 2009 02:51:35 -0700 (PDT) Message-ID: <1171283099.1244627495368.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 02:51:35 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1691) Filter EIP should mark an exchange as filtered so aggregator know this In-Reply-To: <2048808795.1244626175300.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52173#action_52173 ] Claus Ibsen commented on CAMEL-1691: ------------------------------------ BTW: Looks like MulticastProcessor does not honor the end() I have to investigate the further > Filter EIP should mark an exchange as filtered so aggregator know this > ---------------------------------------------------------------------- > > Key: CAMEL-1691 > URL: https://issues.apache.org/activemq/browse/CAMEL-1691 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 1.6.1 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > When you use split, aggregator or the likes that uses an aggregation strategy and you filter the message out then it still passed in into the aggregation strategy. > It should be skipped. > For instance below we want to split a message and filter out bad lines. > {code} > Predicate goodWord = body().contains("World"); > from("direct:start") > .split(body(List.class), new MyAggregationStrategy()) > .filter(goodWord) > .to("mock:filtered") > .end() > .to("mock:result"); > {code} > See nabble: > http://www.nabble.com/Filtered-message-after-splitter-shows-up-after-aggregation-td23957958s22882.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.