davsclaus opened a new pull request, #26049: URL: https://github.com/apache/camel/pull/26049
## Backport of #26041 Straight cherry-pick (`-x`) of #26041 onto `camel-4.18.x`. No conflicts; mechanical port (diff identical to the merged commit). **Original PR:** #26041 **Original author:** @JiriOndrusek **Target branch:** `camel-4.18.x` ### Original description Fixes CAMEL-24591 (regression from CAMEL-24408): after a shared queue is released, stale endpoint `ref`/`queue` fields made a send after producer route restart fail with `No queue available`. Also fixes two sibling cases: consumer-first restart (pollers kept the orphaned queue) and shared queue key (restarted endpoint not re-added). Endpoints now re-register via `QueueReference.isReferenced()`; each scenario is covered by a test. _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]
