It seems "amqp2 in" cannot work well with latest version of node-red.
I got an error message like this, "error: Queue onMessage consumer function returned error: Cannot assign to read only property 'writeQueueSize' of object '#' module=amqp-ts"
In my flow, I have a node of "amqp2 in". This node can connect to a rabbbitmq server and subscribe to a queue. But when messages are published, the node-red console shows this error message.
On rabbitmq server, the messages have been consumed and removed after the error occurs.