davsclaus opened a new pull request, #31332: URL: https://github.com/apache/camel/pull/31332
Updates the design document `design/cross-cutting-binding.adoc` of [CAMEL-25142](https://issues.apache.org/jira/browse/CAMEL-25142) (late binding of onException, interceptors, onCompletion and route configurations) with an analysis of main in December 2026. It changes documentation only. ## What changed in the document - **Current state, checked with probe tests:** - the order of the merged outputs: onException, interceptSendToEndpoint, interceptFrom, intercept, onCompletion, then the route steps; - which steps an intercept reaches; - what survives a CamelContext restart: only `intercept` is lost; - what happens when a route configuration is added, removed or updated at runtime. - **Bugs found, filed as separate tickets:** - CAMEL-28096 (a lookup by id makes global route configurations non-global) - CAMEL-28097 (`addRouteDefinition` / JMX `updateRouteFromXml` merge no route configurations) - CAMEL-28098 (YAML dump after a route configuration update) - CAMEL-28099 (`AdviceWith` merges the route configurations twice) - CAMEL-28100 (`intercept` lost when a route is created again; steps of onCompletion no longer intercepted) - CAMEL-28101 (route configurations removed from a file are never removed on reload) - **Decisions:** - a route restart is acceptable in 4.x; - `intercept` is for the main route path; - a route configuration change bumps the route revision; - only the routes loader triggers a refresh. - **4.x proposal:** keep the route as written, and when a route configuration changes, merge again and restart only the routes that use it. - **Camel 5:** what real late binding (no restart) needs: - per-exchange policy snapshots; - an intercept strategy per route; - onCompletion resolved when an exchange enters a route; - a binding API; - CAMEL-24980 first. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
