Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Retrieve messages from RabbitMQ queue(s)

I'm looking to implement RabbitMQ into my PHP application, and am using the php-amqp extension. My only question is this, how do I easily query to return the contents of the queue in PHP?

php-amqp seems to not enable me to do this. If I am going wrong, please help me out here :)

like image 715
James Avatar asked Feb 06 '10 23:02

James


1 Answers

James, could you please ask this question on rabbitmq-discuss? Your question touches on what it means to 'query' a queue in order to get messages. In RabbitMQ you consume messages from queues, and perform filtering using queue bindings. Have a look at this intro - http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/

Cheers

alexis RabbitMQ

like image 176
alexis Avatar answered Sep 29 '22 06:09

alexis