davsclaus opened a new pull request, #26052: URL: https://github.com/apache/camel/pull/26052
Backport of #26028 to `camel-4.22.x`. Cherry-pick of the squashed commit f899b39d62ac from `main`. The only non-mechanical change is the upgrade-guide note, which was moved from `camel-4x-upgrade-guide-4_23.adoc` (which does not exist on this branch) into `camel-4x-upgrade-guide-4_22.adoc`. Code and tests are identical to the original. Original PR: #26028 ## Summary - **CAMEL-24583 (camel-master):** track leadership under the consumer lock so a leadership-lost event arriving while a delegate start is pending cancels the pending start instead of being dropped; publish the delegate only after a successful start and only if leadership still holds; `backOffMaxAttempts` now correctly bounds the start attempts. - **CAMEL-24584 (camel-support):** `BackgroundTask.schedule` cancels its repeating schedule once the task has completed or run out of budget, instead of re-running as a no-op for the life of the executor. _Claude Code on behalf of davsclaus_ -- 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]
