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 35CB7E815 for ; Wed, 23 Jan 2013 22:26:04 +0000 (UTC) Received: (qmail 86900 invoked by uid 500); 23 Jan 2013 22:26:03 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 86831 invoked by uid 500); 23 Jan 2013 22:26:03 -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 86822 invoked by uid 99); 23 Jan 2013 22:26:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 22:26:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martin.stiborsky@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 22:25:57 +0000 Received: by mail-la0-f54.google.com with SMTP id gw10so8625191lab.13 for ; Wed, 23 Jan 2013 14:25:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=VBIrtkAlJ/P7gDkSxqtP46OzFpxJYp7kK3JuMPlI+3c=; b=zaZEk+VlgxY8CoOtd/2ia5YAampblP2lW9rXCKQC6H83e//XX+nkHDDHiZSzTJyLPO g5Cp8BwE3qHB9AXXfaBcXEhNnXyhLhDlJeV+/QGmFeCufMyXnxJj0he3UjalB7btU8Xg urUO899H3LfIAf4ajJugN7c2Qazfhn6zqKW1a/oV9XsvNUVxjxlpn4sTyt/Vf08CYyiL RD+s82VOInx4riSjfqTY0eKJWSIqmSXdTtXRTu4TrARM8wPr+BCATPuLoar0bHTN6r6s jyU7Wfzznnc8MCnK1B/AdydR99T6zQd7YiYEXUM+Gh0TZbZCrJLMIYhpsbCmXlqtunYW aCtw== MIME-Version: 1.0 X-Received: by 10.152.105.103 with SMTP id gl7mr1660930lab.41.1358979936455; Wed, 23 Jan 2013 14:25:36 -0800 (PST) Received: by 10.112.30.105 with HTTP; Wed, 23 Jan 2013 14:25:36 -0800 (PST) Date: Wed, 23 Jan 2013 23:25:36 +0100 Message-ID: Subject: Filtering XML exchange body content From: =?ISO-8859-1?Q?Martin_Stiborsk=FD?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=f46d040714a75e8cd204d3fc2ce5 X-Virus-Checked: Checked by ClamAV on apache.org --f46d040714a75e8cd204d3fc2ce5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello guys, is it possible with standard Camel weapons, to filter XML body with XPath to contain only selected data? I tried various combination of .setBody(), .XPath() and filter(). I believe the solution needs .setBody(), but I can't find the correct solution. Thanks! --=20 S pozdravem / Best regards Martin Stiborsk=FD Jabber: stibi@njs.netlab.cz Twitter: http://www.twitter.com/stibi --f46d040714a75e8cd204d3fc2ce5--