AMQPQueue
在线手册:中文  英文

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
在线手册:中文  英文
易百教程