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

Atmos component fails to load atmos.properties in a modular class loading environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.20.0
    • 2.20.1, 2.21.0
    • camel-atmos
    • None
    • Unknown

    Description

      The atmos component has a AtmosPropertyManager class which attempts to do:

      AtmosPropertyManager.class.getResource("/atmos.properties");
      

      This assumes the resource is available to the ClassLoader of AtmosPropertyManager. This may not be the case in OSGi or JavaEE containers.

      I see there's a TODO comment at the top of this class. So maybe we remove this class and make it so we configure these properties on the component instead?

      Attachments

        Activity

          People

            jamesnetherton James Netherton
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: