Croway opened a new pull request, #30042: URL: https://github.com/apache/camel/pull/30042
JIRA: [CAMEL-26985](https://issues.apache.org/jira/browse/CAMEL-26985) - A `controlbus:route` stop (also suspend, restart, fail) of the route that routes the exchange ran on the routing thread, so the graceful stop waited for that same exchange until the shutdown timeout, then forced the stop and failed the exchange with `RouteStoppingException`. - Such an action on the route of the exchange (`routeId=current`, or the route the exchange came from) now runs on the component executor, as with `async=true`: the exchange completes and the route stops after it. Other routes are still stopped synchronously. - Docs: the `async` option, the controlbus page and the graceful shutdown page. Tests: `ControlBusStopCurrentRouteTest` (camel-core). Upgrade guide: 4.24, the route is no longer stopped when the control bus step returns. _Claude Code on behalf of Federico Mariani_ -- 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]
