[rabbitmq-discuss] Scala remote actors [was Re: Intro]
Matthias Radestock
matthias at lshift.net
Sun Aug 19 02:35:35 BST 2007
Steve Jenson wrote:
> I wrote a quick hack to serialize objects into a RabbitMQ cluster using Scala.
That looks pretty neat.
> One thing that's not clear to me from the javadoc is how to keep my
> client processing new messages coming into the queue instead of
> exiting at the end. Am I supposed to wrap the call to
> channel.basicConsume around a busy-loop or is there a better
> mechanism?
Any mechanism that stops the program from terminating will do. So, for
example, you could spawn a thread and make it wait for something.
Matthias
More information about the rabbitmq-discuss
mailing list