SAMConnection::peekAll(PECL sam >= 0.2.0) SAMConnection::peekAll — Read one or more messages from a queue without removing it from the queue. Описание
array SAMConnection::peekAll
( string $target
[, array $properties
] )
Список параметров
Возвращаемые значенияThis method returns an array of SAMMessage objects or FALSE if an error occurs. Примеры
Пример #1 Retrieve all messages in a queue without removing them
<?php
Пример #2 Retrieve all messages from a queue with a matching correlation id
<?php |
||||||||