note 103913 deleted from amqpqueue.consume by sobak
| From: | sobak@php.net | Date: | Thu, 24 Nov 2016 20:34:24 +0000 |
| Subject: | note 103913 deleted from amqpqueue.consume by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207585@lists.php.net to get a copy of this message | ||
Note Submitter: hlopetz at gmail dot com
----
you shouldn't use AMQPQueue::consume() if you have to get _all_ incoming messages. you'll
get only "max" number of messages and the queue will be destroyed then.
for my amqp.so v0.2.2 this weird behavior is true.
use AMQPQueue::get() and use "count" param instead.