php-amqplib
php-amqplib copied to clipboard
how to get more than one items in a queue?
Some times I need get more than one items in queue to work.
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.)