Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.20.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity: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.