You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ryan Yeats (Jira)" <ji...@apache.org> on 2022/01/21 22:45:00 UTC

[jira] [Reopened] (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:all-tabpanel ]

Ryan Yeats reopened CAMEL-17524:
--------------------------------
    Estimated Complexity: Moderate  (was: Unknown)

The fix that was originally applied did not fully resolve the issue.

> 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
>             Fix For: 3.14.1, 3.15.0
>
>
> 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)