You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/09/10 14:00:54 UTC

[jira] [Created] (CAMEL-6724) RegistryBean - Should avoid synchronized to getBean faster

Claus Ibsen created CAMEL-6724:
----------------------------------

             Summary: RegistryBean - Should avoid synchronized to getBean faster
                 Key: CAMEL-6724
                 URL: https://issues.apache.org/jira/browse/CAMEL-6724
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.12.0, 2.11.1, 2.10.6
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.10.7, 2.11.2, 2.12.1, 2.13.0


CAMEL-5468 fixed a thread safety issue.

Though we should avoid the synchronized on subsequent getBean calls as that is not needed, only the first time to resolve the bean. 

This will allow faster routing in Camel with the bean component, when using beans from the registry.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira