Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA775932A for ; Tue, 12 Jun 2012 12:58:05 +0000 (UTC) Received: (qmail 24756 invoked by uid 500); 12 Jun 2012 12:58:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 24731 invoked by uid 500); 12 Jun 2012 12:58:05 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 24720 invoked by uid 99); 12 Jun 2012 12:58:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 12:58:05 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of kenhansa@hotmail.co.uk does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 12:57:59 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SeQfC-0007mf-MN for users@camel.apache.org; Tue, 12 Jun 2012 05:57:38 -0700 Date: Tue, 12 Jun 2012 05:57:38 -0700 (PDT) From: kenhans To: users@camel.apache.org Message-ID: <1339505858687-5714355.post@n5.nabble.com> In-Reply-To: References: <1336050743758-5683138.post@n5.nabble.com> <1339164802844-5714209.post@n5.nabble.com> <1339496303501-5714340.post@n5.nabble.com> Subject: Re: No hit during Multicast MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org thanks, Claus, I'm slowly getting there... I think my problem might be more fundamental. If I try to put the AggregationStrategy into the multicast, I am still not able to get a hold of the Exchange. All "filter"s turn out false => no .aggregate is reached. How do I get a handle on that Exchange after the filter, I wonder? MulticastDefinition multicastDefinition = route.multicast().onPrepare(new DocumentDeepClone()); for (Producer producer : producers) { multicastDefinition .filter().method(producer, "filter") *.aggregate(header(PostProcessor.HEADER_ID) , new MyAggregationStrategy())* .bean(producer, "createEvent") .to(EndPointUri.INCOMING_EVENT_QUEUE); } -- View this message in context: http://camel.465427.n5.nabble.com/No-hit-during-Multicast-tp5683138p5714355.html Sent from the Camel - Users mailing list archive at Nabble.com.