allthingssecurity commented on PR #30309:
URL: https://github.com/apache/camel/pull/30309#issuecomment-6973132474

   Pushed b1c6b62791bb: the comment in addRoute now says that an exchange of 
the removed route that never ends keeps size(routeId) of the re-added route at 
1 or more on purpose (later graceful stops and reloads wait for their timeout, 
route-scoped throttling and the JMX count include it), which we prefer over the 
-1. removeRoute now checks again after it marks the count, as you suggested, so 
the entry no longer stays in the map in that race.
   
   _Claude Code on behalf of allthingssecurity_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to