AMQPQueue
PHP Manual

AMQPQueue::delete

(PECL amqp >= Unknown)

AMQPQueue::deleteDelete a queue and its contents.

Opis

publicbool AMQPQueue::delete ( void )

Delete a queue from the broker, including its entire contents of unread or unacknowledged messages.

Parametry

Ta funkcja nie posiada parametrów.

Błędy/Wyjątki

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.


AMQPQueue
PHP Manual