AMQPQueue
PHP Manual

AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declareDeclare a new queue

Opis

public int AMQPQueue::declare ( void )

Declare a new queue on the broker.

Parametry

Błędy/Wyjątki

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Zwracane wartości

Returns the message count.


AMQPQueue
PHP Manual