AMQPQueue
PHP 手册

AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declareDeclare a new queue

说明

public int AMQPQueue::declare ( void )

Declare a new queue on the broker.

参数

错误/异常

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

Returns the message count.


AMQPQueue
PHP 手册