Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:amqp [2020/10/19 14:34]
ajdavis
systems:amqp [2021/03/24 10:09] (current)
ajdavis [Clear the Queue]
Line 16: Line 16:
  
 In the case of certain errors the message queue may need to be cleared. You can do that by logging into the AMQP server and issuing the following command. In the case of certain errors the message queue may need to be cleared. You can do that by logging into the AMQP server and issuing the following command.
 +
 +**Note:** <wrap hi>Only unacknowledged messages can be cleared. So any queue monitoring programs should be stopped.</wrap>
 <code> <code>
 rabbitmqctl purge_queue <queue_name> rabbitmqctl purge_queue <queue_name>
 +</code>
 +
 +You can be sure the command worked by checking the queue status.
 +<code>
 +rabbitmqctl list_queues
 </code> </code>