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

[Question] Connection events in version rc-5 #411

Open
DevOnBike opened this issue Nov 8, 2019 · 0 comments
Open

[Question] Connection events in version rc-5 #411

DevOnBike opened this issue Nov 8, 2019 · 0 comments

Comments

@DevOnBike
Copy link

Hi,

we would like to know using RawRabbit Api when client is connected and disconnected from broker - this is useful because we could react to not being connected to broker by storing generated message (generating some message is very cpu intensive) in some persistent store like database.

From raw rabbit source code I can see that I could use IChannelFactory class with GetConnectionAsync method but I'm not sure it is the right way of doing this because this method is not idempotent, another words it changes state of internals insted only giving information about connection state.

Any clues about this case?

Regards,
Maćko

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

No branches or pull requests

1 participant