[rabbitmq-discuss] PHP message receiving code.

Alvaro Videla videlalvaro at gmail.com
Fri Jul 22 11:37:29 BST 2011


I was having lunch so couldn't reply earlier. I think you can just follow what tutorial #1 is doing. Keep in mind that is using a plain PHP library, not the PECL extension.

On Jul 22, 2011, at 12:10 PM, Marek Majkowski wrote:

> Hi,
> On Fri, Jul 22, 2011 at 09:00, Andrew <aph at repido.co.uk> wrote:
>> Hi there,
>> Apologies if this is a rather basic question but I'm not sure how to
>> tackle the implementation of part of a solution using RabbitMQ with
>> PHP and AMQP library on Linux.
>> I have a component on Linux that will receive messages from a web
>> site. This component will process each message, performing DB updates
>> depending on the message contents. My question is around how this
>> receiving software should poll for messages from RabbitMQ. I wondered
>> if there is some call-back mechanism that is invoked when a message is
>> received, though I haven't found anything on this, or do I implement
>> my receiving software as a daemon that periodically polls the message
>> queue and processes messages when there are detected in the queue?
> We have few tutorials done in php, is it of any use to you?
> https://github.com/rabbitmq/rabbitmq-tutorials/tree/master/php
> Cheers,
>  Marek
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Sent form my Nokia 1100

More information about the rabbitmq-discuss mailing list