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 2022/01/21 09:05:00 UTC
[jira] [Commented] (CAMEL-17524) Camel loading of resources using ClassResolver API doesn't work in OSGi enviroments
[ https://issues.apache.org/jira/browse/CAMEL-17524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479916#comment-17479916 ]
Claus Ibsen commented on CAMEL-17524:
-------------------------------------
You are welcome to send a PR
> Camel loading of resources using ClassResolver API doesn't work in OSGi enviroments
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-17524
> URL: https://issues.apache.org/jira/browse/CAMEL-17524
> Project: Camel
> Issue Type: Bug
> Components: osgi
> Affects Versions: 3.14.0
> Reporter: Ryan Yeats
> Priority: Minor
>
> https://issues.apache.org/jira/browse/CAMEL-17116 changed how resources were loaded in several components the problem being that now they don't use the classloader of the class making the resource calls in OSGi environments. Its a simple change to call the method loadResourceAsStream(String name, ClassLoader loader) and passing in the calling classes class loader instead of loadResourceAsStream(String name).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)