php-amqplib icon indicating copy to clipboard operation
php-amqplib copied to clipboard

how to get more than one items in a queue?

Open zz opened this issue 13 years ago • 1 comments

Some times I need get more than one items in queue to work.

zz avatar Apr 05 '11 08:04 zz

Use basic_get: It's non-blocking, so you can immediately see if there are enough items to be processed. (If not, you can reject the ones you've already received.)

aib avatar Apr 12 '11 08:04 aib