AMQPQueue
PHP Manual

AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declareDeclare a new queue

Descrição

public int AMQPQueue::declare ( void )

Declare a new queue on the broker.

Parâmetros

Erros

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Valor Retornado

Returns the message count.


AMQPQueue
PHP Manual