.TH "amqp-delete-queue" "1" .SH "NAME" amqp-delete-queue \(em Delete a queue from an AMQP server .SH "SYNOPSIS" .PP \fBamqp-delete-queue\fR \fIOPTION\fR \-q \fIqueue name\fR .SH "Description" .PP \fBamqp-delete-queue\fR deletes a queue from an AMQP server, and exits after printing to standard output the number of messages that were in the queue at the time of its deletion. .SH "Options" .IP "\fB-q\fP" 10 .IP "\fB\-\-queue\fP=\fIqueue name\fR" 10 The name of the queue to delete. .SH "Exit Status" .PP If the queue was successfully deleted, the exit status is 0. If an error occurs, the exit status is 1. .SH "Examples" .IP "Delete the queue ``\fI\fBmyqueue\fP\fP'' at a moment when it has 123 messages waiting on it:" 10 .PP .nf $ .ft B amqp-delete-queue \-q myqueue .ft 123 .fi .SH "See also" .PP \fBlibrabbitmq-tools\fP\fB(7)\fP describes connection-related options common to all the RabbitMQ C Client tools. .\" created by instant / docbook-to-man