[rabbitmq-discuss] stop when queue is empty

Steven Taylor taylste at gmail.com
Sun Nov 21 21:52:09 GMT 2010


Hi,

I was planning on using a BasicGet return value of null as a termination
condition.

The pattern I'm working with that this enables is:
-> stream from database
-> do some stuff in parallel
-> stream back to database

thanks,
-Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101122/e85d2f61/attachment.htm>


More information about the rabbitmq-discuss mailing list