Skip to content

Added ability to check connection state.

Compare
Choose a tag to compare
@cheshir cheshir released this 18 Apr 17:59
· 30 commits to master since this release
f82b53d
ConnectionState understanding (#36)

* Added ConnectionState function to allow outer application work with MQ connection state.

* Changed ConnectionState type. Removed Reconnecting state.
+ test for MQ.ConnectionState()

* Add ed test for mq.connect() method.
There's no clean way to test connect() method for connection.Channel() error case without refactoring.

* Also forgot to change default state