|
PHP5中文手册
SAMConnection->peekAll()(No version information available, might be only in CVS) SAMConnection->peekAll() — Read one or more messages from a queue without removing it from the queue. 说明SAMConnection
array peekAll
( string $target
[, array $properties
] )
参数
返回值This method returns an array of SAMMessage objects or FALSE if an error occurs. 范例
Example#1 Retrieve all messages in a queue without removing them
<?php
Example#2 Retrieve all messages from a queue with a matching correlation id
<?php |