Skip to content

fix: [737] preserve Consumer identity on network recovery#738

Merged
michaelklishin merged 1 commit into
ruby-amqp:mainfrom
jollopre:737
Jun 2, 2026
Merged

fix: [737] preserve Consumer identity on network recovery#738
michaelklishin merged 1 commit into
ruby-amqp:mainfrom
jollopre:737

Conversation

@jollopre
Copy link
Copy Markdown
Contributor

@jollopre jollopre commented Jun 2, 2026

When recovering a consumer whose callable is a Bunny::Consumer instance, use basic_consume_with instead of basic_consume so that the original object reference—and any on_cancellation callbacks registered on it—are preserved after reconnection.

When recovering a consumer whose callable is a Bunny::Consumer
instance, use basic_consume_with instead of basic_consume so that
the original object reference—and any on_cancellation callbacks
registered on it—are preserved after reconnection.
@jollopre
Copy link
Copy Markdown
Contributor Author

jollopre commented Jun 2, 2026

#737

@michaelklishin michaelklishin added this to the 3.2.0 milestone Jun 2, 2026
@michaelklishin michaelklishin merged commit 9115a7e into ruby-amqp:main Jun 2, 2026
57 of 58 checks passed
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.

2 participants