You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/08 12:11:28 UTC
[GitHub] [camel-quarkus] ppalaga opened a new issue #3534: Cannot load XSLT custom function from a class in the current application
ppalaga opened a new issue #3534:
URL: https://github.com/apache/camel-quarkus/issues/3534
A followup of https://github.com/apache/camel-quarkus/pull/3526#issuecomment-1032535928
There is a known limitation in #3526 that custom function classes have to be defined in a separate jar for the transformer to be able to load them. I think this is caused by the fact that TransformerFactory class is resolved using a wrong class loader around here in Camel https://github.com/apache/camel/blob/camel-3.15.0/components/camel-xslt/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java#L372
Perhaps changing that (or better making configurable) to current thread class loader could solve the problem.
Here are some changes needed to test the potential fix:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org