Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 32271 invoked from network); 21 Dec 2007 13:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Dec 2007 13:58:26 -0000 Received: (qmail 78719 invoked by uid 500); 21 Dec 2007 13:58:15 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 78650 invoked by uid 500); 21 Dec 2007 13:58:15 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 78641 invoked by uid 99); 21 Dec 2007 13:58:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 05:58:14 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,MISSING_MID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rthullner@gmx.at designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Dec 2007 13:58:03 +0000 Received: (qmail invoked by alias); 21 Dec 2007 13:57:55 -0000 Received: from M2502P008.adsl.highway.telekom.at (EHLO yoda) [212.183.44.168] by mail.gmx.net (mp051) with SMTP; 21 Dec 2007 14:57:55 +0100 X-Authenticated: #20620228 X-Provags-ID: V01U2FsdGVkX18/OnQu3h8/qpTDiZz/Z9Uor7hGhjXlDtKeldPbpB SQOIw1CrT0Yb0E From: "Robert Thullner" To: Subject: Correct syntax for xpath filter Date: Fri, 21 Dec 2007 14:57:54 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C843E1.DDE73980" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AchD2W8KJRa4/YXIQ8CfDMtzuLgw4g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20071221135811.7E4184DA3AB@nike.apache.org> ------=_NextPart_000_000F_01C843E1.DDE73980 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi I am trying to implement a XPath filter for my components. But I think the syntax that is provided on the website is not corrent from("direct:start"). filter().xpath("/person[@name='James']"). to("mock:result"); When I try to write that in my Java Routes the filter() method is awaiting a parameter (Predicate, ExpressionType or String,String) I am using ActiveMQ 5.0. Is there some new syntax for the MessageFilter pattern? Thanks for help Robert ------=_NextPart_000_000F_01C843E1.DDE73980--