You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whew, I just encountered same error, waste me about two days or so...
in case you still wondering the reason and solution,
It seems like channelWrapper's event handler does not apply to underlying channel,
so since you don't have .on('error') handler attach to channel, every channel exception will escape
and cause your connection disconnected, here is my working snippet:
this is my code:
when queue is not exist
this may cause connection disconnect.
but in amqplib api(https://amqp-node.github.io/amqplib/channel_api.html#channel_checkQueue), checkQueue error only bork the channel,not connection.
The text was updated successfully, but these errors were encountered: