You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2011/05/09 21:17:03 UTC

[jira] [Updated] (CAMEL-3911) update @XPath support to use the parameter's type

     [ https://issues.apache.org/jira/browse/CAMEL-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben O'Day updated CAMEL-3911:
-----------------------------

    Attachment: CAMEL-3911.patch

patch to set resultType of the @XPath parameter return type if not provided explicitly

> 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