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 17F0DDBC9 for ; Wed, 20 Jun 2012 11:02:41 +0000 (UTC) Received: (qmail 8647 invoked by uid 500); 20 Jun 2012 11:02:40 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 8461 invoked by uid 500); 20 Jun 2012 11:02:39 -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 8430 invoked by uid 99); 20 Jun 2012 11:02:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 11:02:38 +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 walstrom@hotmail.com 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; Wed, 20 Jun 2012 11:02:33 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1ShIfs-0002mO-UQ for users@camel.apache.org; Wed, 20 Jun 2012 04:02:12 -0700 Date: Wed, 20 Jun 2012 04:02:12 -0700 (PDT) From: PJ Walstroem To: users@camel.apache.org Message-ID: <1340190132930-5714734.post@n5.nabble.com> Subject: Split: how to leave message untouched? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hello, I split messages using from(incomingQueue) .startupOrder(1) *.split().tokenizeXML("update", "dbStream")* .convertBodyTo(Document.class) .choice() .when().xpath(SUBSCRIPTION_XPATH) .to(AGGREGATE_MESSAGES) .otherwise() .to(PRODUCERS) .end(); however, when the XML does not contain neither nor , the routing just seems to stop. Is there a way to let messages through that are not applied by the split? According to http://camel.apache.org/splitter.html http://camel.apache.org/splitter.html , "The Splitter will by default return the original input message", but I can not see that happen in this case. Using Camel 2.9.2 -- View this message in context: http://camel.465427.n5.nabble.com/Split-how-to-leave-message-untouched-tp5714734.html Sent from the Camel - Users mailing list archive at Nabble.com.