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

Extract recovery events into a dedicated interface #758

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

lukebakken
Copy link
Contributor

Fixes #515

@lukebakken lukebakken added this to the 6.0.0 milestone Mar 16, 2020
@lukebakken lukebakken self-assigned this Mar 16, 2020
@lukebakken lukebakken merged commit 87193c4 into master Mar 17, 2020
@lukebakken lukebakken deleted the rabbitmq-dotnet-client-515 branch March 17, 2020 18:00
michaelklishin added a commit that referenced this pull request Sep 17, 2020
This undoes #758 (made in response to #515).

The events make more sense in the primary IConnection interface.
Most users enable automatic connection recovery and asking them to
cast to IAutorecoveringConnection is counter-intuitive.

As suggested in #515, we add no-op add and remove handlers
so that IConnection is easier to implement/mock.

See #940 for the discussion.

Closes #940.
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.

Consider removing implementations for unused events in Connection
1 participant