(This is the proper log message for r17778)
Denis reported that receive(0) returned messages.
This bug is present in the Db & Array adapters.
This has been fixed in all adapters.
In Zend_Queue 2.0 we need to make a requirement that all messages must be 0
or higher and negative numbers will throw an exception.
tests/Zend/Queue/Bugs/ZF-7650Test.php
* Test cases for receive(0);
library/Zend/Queue/Adapter/Activemq.php
library/Zend/Queue/Adapter/Array.php
library/Zend/Queue/Adapter/Memcacheq.php
library/Zend/Queue/Adapter/Db.php
* Updated code to put bulk of receiving code in if ($maxMessages > 0)
git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17779 44c647ce-9c0f-0410-b52a-842ac1e357ba