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

XSLT options not set when resource URI is http

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.20.0
    • 2.20.1, 2.21.0
    • camel-core
    • None
    • Unknown

    Description

      Options included for an XSLT endpoint URI are not applied if the resource is referenced via HTTP.

      In XsltComponent.createEndpoint(), it checks if the resource URI is http (XsltComponent:179). If it is, ResourceHelper.appendParameters() is called (XsltComponent:180).

      ResourceHelper.appendParameters() adds the parameters to the HTTP URI and then clears the parameters list (ResourceHelper:336).

      By the time setProperties() is called on line 207 of XsltComponent, the parameters map is empty and nothing gets set.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tflaherty Tyler Flaherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified