You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tyler Flaherty (JIRA)" <ji...@apache.org> on 2017/10/26 18:27:00 UTC

[jira] [Created] (CAMEL-11952) XSLT options not set when resource URI is http

Tyler Flaherty created CAMEL-11952:
--------------------------------------

             Summary: XSLT options not set when resource URI is http
                 Key: CAMEL-11952
                 URL: https://issues.apache.org/jira/browse/CAMEL-11952
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.20.0
            Reporter: Tyler Flaherty
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)