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

Container has undefined concurrency behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.0
    • 2.15.0
    • None
    • None
    • Unknown

    Description

      The implementation of Container.Instance is not ThreadSafe. It is also not defined what happens when multiple Containers race on the singleton.

      Instead of using a Container singleton approach. It might be better to have a singleton ContainerRegistry that can handle concurrent/multiple Containers

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              tdiesler Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: