davsclaus opened a new pull request, #24820: URL: https://github.com/apache/camel/pull/24820
## Summary - Fix `UseOriginalAggregationStrategy` being silently ignored when `shareUnitOfWork=true` on Multicast, Split, and RecipientList EIPs - Remove `ShareUnitOfWorkAggregationStrategy` wrapping from the three reifiers (MulticastReifier, SplitReifier, RecipientListReifier), centralizing all wrapping logic in `MulticastProcessor.process()` - Add test covering `UseOriginalAggregationStrategy` with and without `shareUnitOfWork` The root cause: the reifiers wrapped the strategy in `ShareUnitOfWorkAggregationStrategy` at route-build time, so the `instanceof UseOriginalAggregationStrategy` check in `MulticastProcessor.process()` (added by CAMEL-24062) never matched, and `newInstance(exchange)` was never called — the original body was lost. _Claude Code on behalf of davsclaus_ ## Test plan - [x] `MulticastUseOriginalShareUnitOfWorkTest` — new test, both with and without `shareUnitOfWork` - [x] `MulticastUseOriginalPropagateExceptionCaughtTest` — existing regression test - [x] `MulticastShareUnitOfWorkOnExceptionHandledFalseIssueTest` — existing regression test 🤖 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]
