You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/08/09 04:39:00 UTC
[jira] [Updated] (CAMEL-16853) camel-xslt: setting
resultHandlerFactory via URI is broken
[ https://issues.apache.org/jira/browse/CAMEL-16853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-16853:
--------------------------------
Fix Version/s: 3.12.0
> camel-xslt: setting resultHandlerFactory via URI is broken
> ----------------------------------------------------------
>
> Key: CAMEL-16853
> URL: https://issues.apache.org/jira/browse/CAMEL-16853
> Project: Camel
> Issue Type: Bug
> Components: camel-xslt
> Reporter: Rik van Ballegooijen
> Priority: Major
> Fix For: 3.12.0
>
>
> In XsltEndpoint.java, createXsltBuilder() the resultHandlerFactory is set if configured.
> However, further down in the method it is overwritten because of
> {code:java}
> configureOutput(xslt, output.name());{code}
> Since output is an enum which cannot be set to "" or null via Spring/XML, there is no way around this except for extending the Endpoint class and overriding the behavior.
> Suggested solution is setting the result handler factory after configureOutput, or skipping configureOutput in case of a custom result handler factory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)