[rabbitmq-discuss] Python example on event-driving consumer?

njsss njsss2011 at gmail.com
Fri Jan 6 21:54:55 GMT 2012


Thank you for your reply. No I didn't see these examples, but I did
take a look at the pika online document.
I read the statement of using "selectconnection" instead of
"blockingconnection", and I tried the demo_receive.py.
The problem I see is that at the end there's this ioloop, which I
first thought only running at background, but instead continue
blocking until ctrl+C.
However, I have a panda3d game animation, and I want while it is
rendering, still can listen outside calls and make certain changes.
With the ioloop, the animation won't even be able to start. without
it, the connection does not seem to fully connected, and will not
listen to the rabbitmq.
What is the easiest to do it?



On Jan 6, 3:09 pm, Marek Majkowski <maje... at gmail.com> wrote:
> On Fri, Jan 6, 2012 at 18:02, njsss <shilei1... at gmail.com> wrote:
> > Hello all,
> > I'm new to rabbitmq and python as well. I installed pika and followed
> > the tutorials. But what I need is an event-driving messenger. Is there
> > anyway to do it?
> Have you seen pika examples?https://github.com/pika/pika/tree/master/examples
> Marek
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list