Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle AMQP server shutdown in protocol's receiver #750

Merged
merged 2 commits into from
Dec 27, 2021

Conversation

oleg-kulyk
Copy link
Contributor

Fixes #685 and #684

Unfortunately Azure/go-amqp doesn't use a special error type when returning error for server down case: https://github.com/Azure/go-amqp/blob/master/session.go#L401 so for now the only way to check for that specific error is compare the message

This PR replaces #707

Signed-off-by: Oleg Kulyk <oleg.kulyk@checkmarx.com>
@n3wscott n3wscott merged commit 7772a06 into cloudevents:main Dec 27, 2021
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.

How to reconnect amqp if session ended by server
2 participants