[
https://issues.apache.org/jira/browse/CAMEL-11342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026357#comment-16026357
]
Zoran Regvart commented on CAMEL-11342:
---------------------------------------
Looks good, there is no need to use additional monitors when using collections
from java.util.concurrent, the
[javadoc|https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentSkipListMap.html#putIfAbsent(K,%20V)]
explicitly confirms that, by mentioning that the operation is atomic.
> Optimize ManagedRoute
> ---------------------
>
> Key: CAMEL-11342
> URL: https://issues.apache.org/jira/browse/CAMEL-11342
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Fix For: 2.20.0
>
> Attachments: after2.png
>
>
> We can optimize ManagedRoute to avoid synchronized block on start/end when it
> records details about longest inflight duration.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)