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 B3650C051 for ; Thu, 10 May 2012 15:12:57 +0000 (UTC) Received: (qmail 40472 invoked by uid 500); 10 May 2012 15:12:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40431 invoked by uid 500); 10 May 2012 15:12:57 -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 40422 invoked by uid 99); 10 May 2012 15:12:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 15:12:57 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 15:12:51 +0000 Received: by lbok6 with SMTP id k6so1462658lbo.32 for ; Thu, 10 May 2012 08:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=TuU5G9GVQv025ba8P7PSsx1gLUe7vExJYyYYl4KCSY4=; b=o6NBvZatHoyNRDPid1ulFHzIiQYIqQBzalykvrXXRmRGDmFFDWcs5NFnE7X5plX7Ge 9m/7zRuD/bSVYf8tGXeW8faplmB8iP5PylJaNwfx7I1YYjZbadjIJL+uIlju2KnbCXUo ST0emS6n+SFkOcZOPH3IXn1RI6p1obxRBsoa/kUwXJicqPNGweScXx6uzya6H3fJYfeT BCY0Wd11sqI10JAW1Ib1y7ikEPHZjvT136EKfNoCL8BMIFc+8czoYF1+z8+izCIGn7jo 8IHHLZRALJHmnCBv8Z6fWBEW3m3DVo7Mcj6RdcJ3fCKSVhZCcK+8acF4RnvDML4dq/Ld Bvng== Received: by 10.112.83.229 with SMTP id t5mr2072661lby.8.1336662751385; Thu, 10 May 2012 08:12:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.146.7 with HTTP; Thu, 10 May 2012 08:12:11 -0700 (PDT) In-Reply-To: <1336654474226-5700140.post@n5.nabble.com> References: <1336634902261-5699358.post@n5.nabble.com> <1336639907174-5699571.post@n5.nabble.com> <4FAB8D82.4050402@gmx.de> <1336654474226-5700140.post@n5.nabble.com> From: Claus Ibsen Date: Thu, 10 May 2012 17:12:11 +0200 Message-ID: Subject: Re: Separate XML tags with splitter To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Thu, May 10, 2012 at 2:54 PM, Salomon wrote: > There is a difference between: split().xpath("/orders/order") and > split(xpath("/orders/order")? > > > I can't run "setHeader(Exchange.FILE_NAME)". > > Each of my tags have a id number in attribute...may be that could be a > solution...!? > Yeah its a bit related to this FAQ http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html Prefer to use the variant where you pass in the expression as a parameter. Then the DSL works the best in Java, as the generics type wont have to change etc. Basically we have stretched how far you can take a DSL in Java land. > > -- > View this message in context: http://camel.465427.n5.nabble.com/Separate-XML-tags-with-splitter-tp5699358p5700140.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/