AMQPQueue
PHP Manual

AMQPQueue::get

(PECL amqp >= Unknown)

AMQPQueue::getRetrieve the next message from the queue.

Описание

public array AMQPQueue::get ([ int $flags = AMQP_NOACK ] )

Retrieve the next message from the queue.

Список параметров

flags

A bitmask of any of the flags: AMQP_NOACK.

Возвращаемые значения

Returns array possibly containing keys routing_key, exchange, delivery_tag, Content-type, Content-encoding, type, timestamp, priority, expiration, user_id, app_id, message_id, Reply-to, count, msg.


AMQPQueue
PHP Manual