Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3911

update @XPath support to use the parameter's type

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: camel-core
    • Labels:

      Description

      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)

        Attachments

        1. CAMEL-3911.patch
          5 kB
          Benjamin P. O'Day

          Activity

            People

            • Assignee:
              boday Benjamin P. O'Day
              Reporter:
              boday Benjamin P. O'Day
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: