camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Netherton (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-11788) Chunk may not find templates in modular class loading environments
Date Tue, 19 Sep 2017 11:36:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Netherton reassigned CAMEL-11788:
---------------------------------------

    Assignee: James Netherton

> Chunk may not find templates in modular class loading environments
> ------------------------------------------------------------------
>
>                 Key: CAMEL-11788
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11788
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-chunk
>    Affects Versions: 2.19.2
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> 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:
> {code}
> ClassLoader applicationContextClassLoader = getCamelContext().getApplicationContextClassLoader();
> if (applicationContextClassLoader != null) {
>     theme.setJarContext(applicationContextClassLoader);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message