This article explains how you can clear the RabbitMQ queue on a Service Node.
Due to environment changes, the RabbitMQ queue on the Service node may have stored messages that are directed to old processing node(s) and due to unavailability of these node(s) the messages get stuck and prevent any communications with the nodes.
To remove problematic messages from the queue, clear the entire queue. Once cleared, the current communication messages will be recreated again and be sent to assigned node(s).
To clear the RabbitMQ queue:
- Run CMD and navigate to '\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.1.3\sbin'
- Run following three commands:
- rabbitmqctl stop_app
- rabbitmqctl reset
- rabbitmqctl start_app
Note: Do not stop the rabbitmq-server service.