Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CB8A5283 for ; Tue, 10 May 2011 16:14:29 +0000 (UTC) Received: (qmail 67058 invoked by uid 500); 10 May 2011 16:14:29 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 67024 invoked by uid 500); 10 May 2011 16:14:29 -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 67016 invoked by uid 99); 10 May 2011 16:14:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 16:14:29 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 16:14:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 634AA36E0C for ; Tue, 10 May 2011 16:13:47 +0000 (UTC) Date: Tue, 10 May 2011 16:13:47 +0000 (UTC) From: "Ben O'Day (JIRA)" To: dev@camel.apache.org Message-ID: <556896079.479.1305044027403.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1433286459.9219.1304005023248.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-3911) update @XPath support to use the parameter's type 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-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben O'Day updated CAMEL-3911: ----------------------------- Attachment: (was: CAMEL-3911.patch) > update @XPath support to use the parameter's type > ------------------------------------------------- > > Key: CAMEL-3911 > URL: https://issues.apache.org/jira/browse/CAMEL-3911 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Ben O'Day > Assignee: Ben O'Day > Priority: Minor > Labels: xpath > Fix For: 2.8.0 > > Attachments: CAMEL-3911.patch > > > based on this discussion http://camel.465427.n5.nabble.com/xpath-2-0-function-bean-binding-camel-xpath-annotation-td4344611.html > update the XPathAnnotationExpressionFactory to set the resultType based on the annotated parameter's type where possible (instead of always defaulting to NodeList.class) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira