AMQPQueue
PHP Manual

AMQPQueue::delete

(PECL amqp >= Unknown)

AMQPQueue::deleteDelete a queue and its contents.

说明

public bool AMQPQueue::delete ( string $queue_name )

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

参数

queue_name

The name of the queue to delete.

返回值

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


AMQPQueue
PHP Manual