camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10269) Optimize DefaultCamelContext#getComponent
Date Mon, 05 Sep 2016 07:19:21 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-10269:
--------------------------------
    Affects Version/s:     (was: 2.18.0)

> Optimize DefaultCamelContext#getComponent
> -----------------------------------------
>
>                 Key: CAMEL-10269
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10269
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            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
(v6.3.4#6332)

Mime
View raw message