davsclaus opened a new pull request, #23775: URL: https://github.com/apache/camel/pull/23775
## Summary - Fix BacklogTracer dropping trace events from async downstream routes (e.g., second branch of a multicast via Kafka/SEDA) when a new exchange claims the provisional history queue before the async branch finishes - Add fallback clause that appends late events matching `lastCompletedBreadcrumbId` directly to `completeHistoryQueue` - Add test `BacklogTracerMessageHistoryMulticastSedaTest` that reproduces the race condition ## Test plan - [x] All 17 `BacklogTracer*` tests pass (no regressions) - [x] New test verifies multicast to two seda endpoints with delayed branch — all three routes appear in message history - [ ] Manual verification with TUI History tab on a multi-route example using async endpoints _Claude Code on behalf of Claus Ibsen_ 🤖 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]
