Answer the question
In order to leave comments, you need to log in
RabbitMQ: How to get only part of messages?
In all the examples on the offsite www.rabbitmq.com/getstarted.html , an infinite loop is used to get messages from the queue, i.e. in fact, you need a demon that will constantly spin this cycle. I’ve been working with Rabbit recently, so I’m interested in the question of whether it’s possible to receive messages not all at once, but in batches, for example, 10 pieces each, when accessing the script (without an infinite loop)?
I write in php using the phpAmqpLib library
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question