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

RegistryBean - Should avoid synchronized to getBean faster

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.6, 2.11.1, 2.12.0
    • 2.10.7, 2.11.2, 2.12.1, 2.13.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: