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

No function disconnect() #86

Open
sgmv opened this issue May 20, 2019 · 0 comments
Open

No function disconnect() #86

sgmv opened this issue May 20, 2019 · 0 comments

Comments

@sgmv
Copy link

sgmv commented May 20, 2019

I have a problem with missed functionality - disconnect from rabbit cluster. I want graceful disconnect from my cluster and can't find this ability. If I use the close() method from AmqpConnectionManager, it's just close channel, but don't disconnect from a cluster.
Here object after close method:

AmqpConnectionManager { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: 0, _channels: [], _currentUrl: 1, connectionOptions: undefined, heartbeatIntervalInSeconds: 1, reconnectTimeInSeconds: 1, _findServers: [Function], _connecting: true, _closed: true, _urls: [ 'amqp://user:[email protected]:5672?heartbeat=60' ], _currentConnection: null }
As you see, connecting is true.

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