Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.19.2
-
None
-
Unknown
Description
I've been playing with camel-chunk on WildFly. Chunk is not able to find my template files from the classpath. It tries to use a number of fallback mechanisms to discover templates, but none of them are appropriate where multiple class loaders are in operation.
One thing that'd help, is if we configure the Chunk Theme object like so:
ClassLoader applicationContextClassLoader = getCamelContext().getApplicationContextClassLoader(); if (applicationContextClassLoader != null) { theme.setJarContext(applicationContextClassLoader); }
Attachments
Issue Links
- links to