Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Nov 24, 2025

Follow-up to #14389

Without these changes, the attach frame doesn't set any settlement mode. This leads to settlement negotiation errors hiding the actual error.

For example,
omq amqp -y 0 -t /queues/no-such-queue
omq amqp -x 0 -T /queues/no-such-queue

Returned amqp: sender settlement mode "unsettled" requested, received "mixed" from server", when the actual error in the next (detach) frame was amqp:not-found. However, the attach frame triggers a client-side error before the detach frame is processed.


This is an automatic backport of pull request #15004 done by Mergify.

Follow-up to #14389

Without these changes, the attach frame doesn't set
any settlement mode. This leads to settlement negotiation
errors hiding the actual error.

For example,
omq amqp -y 0 -t /queues/no-such-queue
omq amqp -x 0 -T /queues/no-such-queue

Returned `amqp: sender settlement mode "unsettled" requested, received "mixed" from server"`,
when the actual error in the next (detach) frame was `amqp:not-found`.
However, the attach frame triggers a client-side error before the
detach frame is processed.

(cherry picked from commit f261afc)
@michaelklishin michaelklishin added this to the 4.2.2 milestone Nov 24, 2025
@michaelklishin michaelklishin merged commit 48ec1df into v4.2.x Nov 25, 2025
576 of 577 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-15004 branch November 25, 2025 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants