Rik van Ballegooijen created CAMEL-16853:
--------------------------------------------
Summary: 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
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)