allthingssecurity commented on code in PR #27524:
URL: https://github.com/apache/camel/pull/27524#discussion_r4216699415
##########
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java:
##########
@@ -292,6 +297,16 @@ public Set<String> updateRoutes(Collection<Resource>
resources) throws Exception
return answer;
}
+ updateLock.lockInterruptibly();
Review Comment:
Added in 52da34c6e7b7, above `lockInterruptibly()`: the lock is held while
the replaced routes are stopped, so an `updateRoutes` call from an exchange of
such a route waits until the shutdown timeout (as in the upgrade guide).
_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]