Skip to content Skip to sidebar Skip to footer

Pika - Rabbitmq, Using Basic.get To Cosume Single Message From Queue

I'm using the method shown here like this: while method_frame is None: method_frame, header_frame, method_frame= channel.basic.get('test_queue) It's looks like this polling is

Solution 1:

Try using basic.consume(ack=true) with basic.qos(prefetch_count=1).

You need to see how to do that with your particular library

Post a Comment for "Pika - Rabbitmq, Using Basic.get To Cosume Single Message From Queue"