[ 
https://issues.apache.org/jira/browse/CAMEL-19295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716470#comment-17716470
 ] 

Rhuan Rocha commented on CAMEL-19295:
-------------------------------------

Yes, but have you tried it in version 3.21.x or 4? The issue I sent solves the 
problem to 2.21.x and 4. I will try to test it with the reproducer you 
attached. 

> Concurrency issues with dynamicMap in AbstractDynamicRegistry
> -------------------------------------------------------------
>
>                 Key: CAMEL-19295
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19295
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.14.2
>            Reporter: Alan Dávila
>            Priority: Minor
>         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)

Reply via email to