Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17524

Camel loading of resources using ClassResolver API doesn't work in OSGi enviroments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.14.0
    • 3.14.1, 3.15.0
    • osgi
    • None
    • Moderate

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryeats Ryan Yeats
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: