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 6720F6F2E for ; Sun, 22 May 2011 04:39:33 +0000 (UTC) Received: (qmail 83307 invoked by uid 500); 22 May 2011 04:39:33 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 83130 invoked by uid 500); 22 May 2011 04:39:32 -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 83121 invoked by uid 99); 22 May 2011 04:39:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 04:39: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; Sun, 22 May 2011 04:39: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 DFBA0D6A6D for ; Sun, 22 May 2011 04:38:47 +0000 (UTC) Date: Sun, 22 May 2011 04:38:47 +0000 (UTC) From: "Ben O'Day (JIRA)" To: dev@camel.apache.org Message-ID: <1412045372.34050.1306039127913.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1433286459.9219.1304005023248.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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 [ https://issues.apache.org/jira/browse/CAMEL-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben O'Day resolved CAMEL-3911. ------------------------------ Resolution: Fixed > 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