camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Sharma (JIRA)" <>
Subject [jira] [Created] (CAMEL-10269) Optimize DefaultCamelContext#getComponent
Date Wed, 24 Aug 2016 21:34:20 GMT
Siddharth Sharma created CAMEL-10269:

             Summary: Optimize DefaultCamelContext#getComponent
                 Key: CAMEL-10269
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.18.0
            Reporter: Siddharth Sharma
            Priority: Minor
             Fix For: 2.18.0

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

This message was sent by Atlassian JIRA

View raw message