PHP 5.5.16 is released

AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declareDeclare a new queue

Description

public int AMQPQueue::declare ([ string $queue_name = "" [, int $flags = AMQP_AUTODELETE ]] )

Declare a new queue on the broker.

Parameters

queue_name

The name of the queue to declare.

flags

A bitmask of any of the flags: AMQP_AUTODELETE, AMQP_PASSIVE, AMQP_DURABLE, AMQP_NOACK.

Return Values

Returns the message count.

add a note add a note

User Contributed Notes 1 note

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