You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2014/10/27 11:39:33 UTC
[jira] [Created] (CAMEL-7968) Container has undefined concurrency
behaviour
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)