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

Optimize DefaultCamelContext#getComponent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-core
    • None
    • Patch Available
    • Unknown

    Description

      While debugging how components are resolved by Camel, noticed DefaultCamelContext#getComponent locks on components HashMap for the entire duration the component is created and started. This leads to other threads blocking on getComponent as if the entire method is synchronized

      Attachments

        Activity

          People

            Unassigned Unassigned
            sidshar Siddharth Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: