davsclaus opened a new pull request, #24829: URL: https://github.com/apache/camel/pull/24829
## Summary `InMemorySagaCoordinator.compensate()` and `complete()` returned `CompletableFuture.completedFuture(null)` unconditionally, meaning the exchange finished before any compensation/completion endpoint was invoked and finalization failures never propagated to the caller. - `compensate()` and `complete()` now return the actual future from `doCompensate()`/`doComplete()` so the exchange waits for finalization (including retries) to finish - When all retry attempts fail, the failure is propagated as a `RuntimeCamelException` on the exchange, consistent with the `camel-lra` coordinator behavior - Added 2 new tests verifying failure propagation - Added upgrade guide note for the behavior change Fixes: [CAMEL-24145](https://issues.apache.org/jira/browse/CAMEL-24145) _Claude Code on behalf of davsclaus_ Co-Authored-By: Claude Opus 4.6 <[email protected]> -- 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]
