[rabbitmq-discuss] RabbitMQ -- communicate between 3 different machines?

csharpplusproject csharpplusproject at gmail.com
Mon Jul 18 00:12:25 BST 2011


Hi Jason,

Thank you for your assistance.

Suppose that the RabbitMQ server is installed on host 192.168.0.1;

How do I establish a connection between my 2 worker clients
(192.168.0.2, 192.168.0.3), and the RabbitMQ server? (I'm using the pika
client)

Thanks,
Shalom.

-----Original Message-----
From: Jason J. W. Williams <jasonjwwilliams at gmail.com>
To: Shalom Rav <csharpplusproject at gmail.com>
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] RabbitMQ -- communicate between 3
different machines?
Date: Sun, 17 Jul 2011 16:50:06 -0600


Hi Shalom,

The connection is not between the machines/clients themselves, but
rather between the clients and the server running the RabbitMQ broker.
You should be able to bind the clients to the queues you're using in
the examples and RMQ will round robin incoming messages between them.

-J

On Sun, Jul 17, 2011 at 3:26 PM, Shalom Rav <csharpplusproject at gmail.com> wrote:
> Using a SINGLE MACHINE, I have successfuly run the first 4 examples
> that are on the RabbitMQ website.
>
> Now, I'd like to test THE SAME EXAMPLES using 3 different machines
> that are connected in a network.
>
> Suppose that the RabbitMQ server is installed ONLY on host
> 192.168.0.1;
>
> And suppose that I'd like to use machines {192.168.0.2, 192.168.0.3}
> as *workers* (they DO NOT have the RabbitMQ server installed on
> them).
>
> Taking for instance the first example {send.py, receive.py} -- how do
> I establish the connection between the three machines?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110717/8a11780a/attachment.htm>


More information about the rabbitmq-discuss mailing list