camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7968) Container has undefined concurrency behaviour
Date Mon, 27 Oct 2014 10:39:33 GMT
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)

Mime
View raw message