Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
As today DefaultFactoryFinder (and so OsgiFactoryFinder) caches the classes using a ConcurrentMap but then it does not have any synchronization to prevent multiple instantiation for the same key.
As camel requires java 8, we can use compiteIfAbsent to make it thread safe.