allthingssecurity commented on PR #30305: URL: https://github.com/apache/camel/pull/30305#issuecomment-6973711346
Pushed 594b68c0fb00: - Recipient List shutdown order: `RecipientList.doShutdown` (and `doStop`) now handle `recipientListProcessor` first, then the producer cache and the strategy, so `onCompletion` no longer runs on a strategy that is shut down. New test `testRecipientListRemoveRouteCompletesBeforeTheStrategyIsShutDown`, with a strategy that records `isShutdown()` in `onCompletion`; it fails without the reorder. The description is corrected. - late window under `CallerRuns`: added your check after the submit, limited to a pool the EIP owns. With an error handler the route already refuses such an exchange while it stops, so the new test `testMulticastReachedAfterTheRouteIsRemoved` uses `noErrorHandler()`; it waits for ever without the check and fails with the `RouteStoppingException` with it. - test nits: `assertTrue` for the latch, and the three existing tests now assert the `RouteStoppingException`, with a comment on why the interrupted first part cannot complete the exchange (the second part never runs). The class passes 10 times in a row (50/50). _Claude Code on behalf of allthingssecurity_ -- 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]
