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 2023/05/19 08:31:00 UTC
[jira] [Updated] (CAMEL-19295) Concurrency issues with dynamicMap in AbstractDynamicRegistry
[ https://issues.apache.org/jira/browse/CAMEL-19295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-19295:
--------------------------------
Component/s: camel-core
> Concurrency issues with dynamicMap in AbstractDynamicRegistry
> -------------------------------------------------------------
>
> Key: CAMEL-19295
> URL: https://issues.apache.org/jira/browse/CAMEL-19295
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 3.14.2
> Reporter: Alan Dávila
> Assignee: Rhuan Rocha
> Priority: Minor
> Fix For: 3.14.8, 3.18.7, 3.20.5, 3.21.0, 4.0-RC1, 4.0
>
> Attachments: OOMECamelEndpointRegistry.java
>
>
> Hello everyone,
> We have detected concurrency issues related to the dynamicMap attribute of the AbstractDynamicRegistry class. By default, dynamicMap is an object of the SimpleLRUCache class, which inherits from LinkedHashMap.
> We have resolved the issue by creating our own LRUCacheFactory which returns a thread-safe synchronized map backed by the specified map.
> Could you please review it?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)