PHP Unconference Europe 2015

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.

add a note add a note

User Contributed Notes 1 note

up
0
lyrixx at lyrixx dot info
1 year ago
deprecated.
Use AMQPExchange::declareExchange() and AMQPQueue::declareQueue() as the main methods.
https://github.com/pdezwart/php-amqp/pull/58
To Top