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

Exporting Channel State #4

Merged

Conversation

eibrunorodrigues
Copy link

@eibrunorodrigues eibrunorodrigues commented Jun 27, 2021

Hey Guys, this is an old PR from streadway, and since we have this "official" fork, I'd still think is a good idea (and I need this haha)

I needed to access the Channel state on a project that I'm participating in. So, I just made the "closed" field public on channel.go in the same way as it is on connection.go. Nothing too fancy, but I think it is important to get the actual status of the channel.

Something that we have on RabbitMQ's client on Python (pika) and .Net (RabbitMQ) and I missed here.

Hope this helps,
Best regards.

Original Pull Request

@michaelklishin michaelklishin merged commit c93bfac into rabbitmq:main Jun 28, 2021
@michaelklishin
Copy link
Member

Thank you!

@lukebakken lukebakken added this to the 1.1.0 milestone Jan 4, 2022
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