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

OSGi resolvers for component, dataformat and language should check if service object is assignable before casting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.5, 2.10.3, 2.11.0
    • osgi
    • None
    • Unknown

    Description

      Currently, the OSGi resolvers, get all services for the target component, dataformat and language and then cast the first service object to the type of choice.

      This can be problematic if for any reason multiple version of a component is installed inside the container.

      Attachments

        Activity

          People

            iocanel Ioannis Canellos
            iocanel Ioannis Canellos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: