Hi, I am testing the re-connect behavior of node-rabbitmq-client.
Like having a connected Connection, make the broker disconnect from the network, then rejoin.
I can observe the up/down of RabbitMQ connection from the management web UI, the Connection do re-connect to the broker, but something weird about channel happened after that.
I try to create a queue with Connection#queueDeclare(), but it failed with AMQPError: channel aquisition timed out error. Upon the observation of management UI, there is no channel created during this test.
But if I create the queue via raw channel, it works.
Hi, I am testing the re-connect behavior of node-rabbitmq-client.
Like having a connected
Connection
, make the broker disconnect from the network, then rejoin. I can observe the up/down of RabbitMQ connection from the management web UI, theConnection
do re-connect to the broker, but something weird about channel happened after that.I try to create a queue with
Connection#queueDeclare()
, but it failed withAMQPError: channel aquisition timed out
error. Upon the observation of management UI, there is no channel created during this test.But if I create the queue via raw channel, it works.
I can see the channel on the management UI. And the queue is created as well.
The overall flow looks like this