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

update @XPath support to use the parameter's type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0
    • camel-core

    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

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

            Dates

              Created:
              Updated:
              Resolved: