AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declareDeclare a new queue

Beskrivelse

public int AMQPQueue::declare ( void )

Declare a new queue on the broker.

Parametre

Fejl/Undtagelser

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Returnerings Værdier

Returns the message count.

add a note add a note

User Contributed Notes 2 notes

up
2
jiannzhiunique at 163 dot com
6 years ago
use AMQPQueue::declareQueue() to avoid warning
up
-5
info at hot-zr dot com
6 years ago
AMQPQueue::declare() is deprecated
To Top