Thomas Diesler created CAMEL-7968:
-------------------------------------

             Summary: Container has undefined concurrency behaviour
                 Key: CAMEL-7968
                 URL: https://issues.apache.org/jira/browse/CAMEL-7968
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.14.0
            Reporter: Thomas Diesler


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to