This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch fix/CAMEL-24978 in repository https://gitbox.apache.org/repos/asf/camel.git
commit ea506e01a148d3cc9030961a2019794da6c1390f Author: Claus Ibsen <[email protected]> AuthorDate: Wed Sep 23 22:19:00 2026 +0200 CAMEL-24978: Upgrade guide for internal processor advices Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc index eace13660003..828033396afa 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc @@ -64,6 +64,15 @@ The simple catalog (`simple.json`) now spells these functions as they are writte `exception.stacktrace` (was `exception.stackTrace`), `throwException(msg,type)` (was `throwException(type,msg)`, the order the function has always used), `not(exp)`, and `setAttachment(key,exp)`. +=== camel-core - internal processor advices + +When a `CamelInternalProcessorAdvice` fails in its `before` method, then the `after` method is now executed +for the advices whose `before` was already executed. Previously they were skipped, which could leave the exchange +counted as inflight and its unit of work not done. The same now happens when the debugger skips over a processor. + +An exception thrown from the `after` method of an advice no longer replaces the exception the exchange has already +failed with. Instead, it is added as a suppressed exception to the existing exception. + === Circuit Breaker EIP The exchange property `CamelCircuitBreakerResponseRejected` is now also set inside the `onFallback`,
