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

CloseSubscribeChannel #170

Open
MercyPillow opened this issue Aug 5, 2022 · 0 comments
Open

CloseSubscribeChannel #170

MercyPillow opened this issue Aug 5, 2022 · 0 comments

Comments

@MercyPillow
Copy link
Contributor

MercyPillow commented Aug 5, 2022

CFXSDK v1.5.3
AMQPNetLite v2.4.4

Close SubscribeChannel is not closing the subscribed channel.

Opening channel:
broker = new Uri("amqp://guest:guest@localhost:5672/")
string queue = "/queue/cfx"
Endpoint.CloseSubscribeChannel(broker, queue)

Closing channel:
broker = new Uri("amqp://guest:guest@localhost:5672/")
string queue = "/queue/cfx"
Endpoint.CloseSubscribeChannel(broker, queue)

After closing the channel it remains active in RabbitMQ and repoening the channel address increaese the consumers every time after closing the channel

image

testing the queue does not keep an active subscription live but connecting and disconnecting does, and resubscribing creates a second consuming subscription.
image
image

EDIT:
note killing the endpoint does close the subscription and logging level is on all

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