gnodet opened a new pull request, #26340: URL: https://github.com/apache/camel/pull/26340
## Backport of #26112 Cherry-pick of c379961fa226d47171d320e61efaaa3fe247bb94 to camel-4.18.x. Conflicts resolved automatically by backport bot agent. ### Conflict resolution notes - **catalog adoc** (modify/delete): Deleted — the `catalog/` copy doesn't exist on `camel-4.18.x` (generated file, the `components/` copy was updated) - **MasterConsumer.java**: Applied the full bugfix (dedicated `leadershipLock`, `startDelegatedConsumer` extracted method, cancel/stop race fix) - **MasterConsumerLeadershipTest.java** (modify/delete): Added — new test validating the leadership race conditions fixed by this PR - **BackgroundTask.java**: Applied `cancel()`, `unschedule()`, `deregister()` methods and registry lifecycle fixes - **BackgroundTaskTest.java**: Added new test methods for schedule/cancel/deregister behavior - **Task.java**: Added `isAttempting()` default method (prerequisite from main, needed by `BackgroundTask`) -- 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]
