[rabbitmq-discuss] RabbitMQ Usage Patterms?
majek04 at gmail.com
Tue Jul 19 17:52:27 BST 2011
On Tue, Jul 19, 2011 at 17:31, Shalom Rav <csharpplusproject at gmail.com> wrote:
> Thank you for your response.
> Obviosuly, my main attention goes to the application itself. So 99% of
> the time, I'd like it to just run.
> I am *happy* to block my app momentarily to consume incoming messages
> as they arrive. Then, when messages are consumed, I'd like the
> application to keep running.
> The question is, how do I achieve the above using python?
> So far, it looks like *channel.start_consuming()* just BLOCKS
> EVERYTHING and puts 100% of the focus on the messaging (not letting
> anything else to run).
> Any idea how to solve this?
I see. I guess there should be a way of doing something like
start_consuming() but with a timeout, but I can't find anything.
If you are interested in my opinion, take a look at this:
More information about the rabbitmq-discuss