note 103913 added to amqpqueue.consume

From: Date: Wed, 11 May 2011 06:32:01 +0000
Subject: note 103913 added to amqpqueue.consume
Groups: php.notes 
Request: Send a blank email to php-notes+get-179589@lists.php.net to get a copy of this message
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. ---- Server IP: 78.41.107.9 Probable Submitter: 89.189.179.60 ---- Manual Page -- http://www.php.net/manual/en/amqpqueue.consume.php Edit -- https://master.php.net/note/edit/103913 Del: integrated -- https://master.php.net/note/delete/103913/integrated Del: useless -- https://master.php.net/note/delete/103913/useless Del: bad code -- https://master.php.net/note/delete/103913/bad+code Del: spam -- https://master.php.net/note/delete/103913/spam Del: non-english -- https://master.php.net/note/delete/103913/non-english Del: in docs -- https://master.php.net/note/delete/103913/in+docs Del: other reasons-- https://master.php.net/note/delete/103913 Reject -- https://master.php.net/note/reject/103913 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179589) next »