AMQPQueue
PHP Manual

AMQPQueue::delete

(PECL amqp >= Unknown)

AMQPQueue::deleteDelete a queue and its contents.

说明

publicbool AMQPQueue::delete ( void )

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

参数

此函数没有参数。

错误/异常

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE


AMQPQueue
PHP Manual