[rabbitmq-discuss] multiple workers

Rajarshi Chakravarty rajc at myquu.com
Thu May 26 18:58:53 BST 2011


Hi,

I have implemented Rabbit queues in java.

 

In the "Work Queues" example given on the site, 2 programs are created and
each runs an infinite loop.

My question is instead of doing that, can I create 2 threads in a program
and run an infinite loop in each thread?

 

Regards,

Raj

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110526/86d6fdfa/attachment.htm>


More information about the rabbitmq-discuss mailing list