node.js - AMQPLib Detecting / Handling Channel Close -


i'm looking recommended way deal un-expected channel closures via library.

i gather documentation there event emitted, it's not quite clear me how best detect event (i know simple, i'm not clear on event emitting in general, bear me), moreover, it's not obvious should that.

should tracking subscribers use channel , re-subscribe them? others do?

what's more - there no way examine channel (or confirmedchannel) object, , determine if it's still "good"? seem preferable event-trapping approach, can't seem find way (ok, that's not true - i've done things examining "accept" method on channel determine if it's gone bad, seems hackish).

any guidance appreciated.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -