Skip to content

[backport camel-4.18.x] CAMEL-24591: camel-seda - Re-register released queue reference on route restart - #26049

Merged
davsclaus merged 1 commit into
camel-4.18.xfrom
backport/26041-to-camel-4.18.x
Sep 2, 2026
Merged

[backport camel-4.18.x] CAMEL-24591: camel-seda - Re-register released queue reference on route restart#26049
davsclaus merged 1 commit into
camel-4.18.xfrom
backport/26041-to-camel-4.18.x

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

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

…te restart

Fixes a regression from CAMEL-24408 where, after a shared queue was released,
stale endpoint ref/queue fields caused a send after producer route restart to
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, so stopping the sibling removed the queue). Endpoints now
re-register via QueueReference.isReferenced(); each scenario has a test.

Closes #26041

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 3f28622)
@davsclaus davsclaus added the backport indicate that a Pull request is a backport from a fix from the main branch label Sep 2, 2026
@davsclaus davsclaus added this to the 4.18.5 milestone Sep 2, 2026
@davsclaus
davsclaus merged commit 7e1a5ff into camel-4.18.x Sep 2, 2026
3 checks passed
@davsclaus
davsclaus deleted the backport/26041-to-camel-4.18.x branch September 2, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport indicate that a Pull request is a backport from a fix from the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants