Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 79531 invoked from network); 6 Jan 2011 19:12:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 19:12:11 -0000 Received: (qmail 73422 invoked by uid 500); 6 Jan 2011 19:12:11 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 73394 invoked by uid 500); 6 Jan 2011 19:12:11 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 73386 invoked by uid 500); 6 Jan 2011 19:12:11 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 73383 invoked by uid 99); 6 Jan 2011 19:12:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 19:12:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 19:12:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p06JBm2l026900 for ; Thu, 6 Jan 2011 19:11:48 GMT Message-ID: <27023569.195041294341108202.JavaMail.jira@thor> Date: Thu, 6 Jan 2011 14:11:48 -0500 (EST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-3504) Annotation @XQuery does not work in POJO In-Reply-To: <21015912.181761294299826882.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-3504: ------------------------------- Component/s: camel-saxon > Annotation @XQuery does not work in POJO > ----------------------------------------- > > Key: CAMEL-3504 > URL: https://issues.apache.org/jira/browse/CAMEL-3504 > Project: Camel > Issue Type: Bug > Components: camel-saxon > Affects Versions: 2.4.0 > Reporter: Charles Moulliard > Assignee: Claus Ibsen > > When we try to extract content from XML using a XQuery annotation in the method signature, we receive the full XML message and not the content defined by the XQuery expression > 1) camel route > {code} > > > > > > > > //serviceName = 'service1' > > > > > > > > > > OK > > > > {code} > 2) POJO > public String generateSoapMessage(@XQuery("//payload") String payload) > 3) XML received > {code} > > > > > service1 > > > 01 > 2010-10-04 > Charles > Moulliard > This is a test repart >
server is down
> cmoulliard@fusesource.com > +32 473 604 014 >
>
>
>
>
> {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.