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

camel-core - In OSGi should unload the loaded type converters when bundle is removed

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-core, osgi
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See nabble
      http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503.html

      So even if the CamelContext instance itself is shutdown, then somehow type converters that are static method calls somehow are causing issues. We should instead attempt to unload the type converters when stopping.

      However we need to ensure that this is called after CamelContext is stopped because the type converters are still to be used during shutdown of Camel itself.

        Attachments

        1. converter-example.zip
          5 kB
          Yogesh Rao

          Issue Links

            Activity

              People

              • Assignee:
                jpoth John Poth
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: