rabbitmq / rabbitmq-objc-client

RabbitMQ client for Objective-C and Swift
https://rabbitmq.com
Other
241 stars 84 forks source link

Connection status check #97

Closed tomas789 closed 7 years ago

tomas789 commented 7 years ago

Is there a way how to check if connection was opened successfully? I see there is RMQConnectionDelegate but there are only methods that are called when an error appears. I'm looking for something like

RMQConnection *conn = [[RMQConnection alloc] /*...*/];
if ([conn isOpen]) {
    /* ... */
}
michaelklishin commented 7 years ago

Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you.

tomas789 commented 7 years ago

http://stackoverflow.com/questions/39849763/rabbitmq-obj-c-client-connection-status-check