[rabbitmq-discuss] How to make RabbitMQ worker listening continuously

Ravi Pandey ravindrapandey1982 at gmail.com
Mon Apr 7 08:41:01 BST 2014


Yes I am using this library but first I need to run amqp_consumer.php
manually to process all messages and I don't want to execute
amqp_consumer.php file manually everytime.


On Mon, Apr 7, 2014 at 1:00 PM, Alvaro Videla <videlalvaro at gmail.com> wrote:

> Hi,
>
> Have you seen the examples here:
> https://github.com/videlalvaro/php-amqplib/tree/master/demo, specially
> this one
> https://github.com/videlalvaro/php-amqplib/blob/master/demo/amqp_consumer.php
> ?
>
> This is also explained in our tutorials:
> http://www.rabbitmq.com/tutorials/tutorial-one-php.html
>
> Regards,
>
> Alvaro
>
> On Mon, Apr 7, 2014 at 9:21 AM, Ravi Pandey
> <ravindrapandey1982 at gmail.com> wrote:
> > I am using PHP with basic.consume
> >
> >
> > On Mon, Apr 7, 2014 at 12:06 PM, Michael Klishin
> > <michael.s.klishin at gmail.com> wrote:
> >>
> >>
> >> 2014-04-07 10:07 GMT+04:00 Ravi Pandey <ravindrapandey1982 at gmail.com>:
> >>
> >>> I want my worker script to listen all request continuously without
> >>> manually executing worker file. Many people suggested CRON but I don't
> want
> >>> because if previous run hasn't finished then overlap can cause serious
> >>> issues.
> >>>
> >>> Is there any way to run my worker script continuously in background?
> >>
> >>
> >> It depends on the language and client used. What do you use? Do you
> >> consume using basic.consume or basic.get?
> >> --
> >> MK
> >>
> >> http://github.com/michaelklishin
> >> http://twitter.com/michaelklishin
> >>
> >> _______________________________________________
> >> rabbitmq-discuss mailing list
> >> rabbitmq-discuss at lists.rabbitmq.com
> >> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >>
> >
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140407/60c4bd0e/attachment.html>


More information about the rabbitmq-discuss mailing list