[rabbitmq-discuss] How can I connect in a cluster using Java library

Lucas Souza lucasas at gmail.com
Wed Mar 16 19:10:34 GMT 2011


Hello Matthew, thank you for your reply...

If I use Java Client Library, this behavior is automatic?

For example, if the real message was published on node A, and node A
downs,
and I connect on node B, will I receive the message?

Regards.

On 16 mar, 14:34, Matthew Sackman <matt... at rabbitmq.com> wrote:
> On Wed, Mar 16, 2011 at 10:31:36AM -0700, Lucas Souza wrote:
> > Emile, and how about publishing messages....
>
> > If a connect on node A, I have to consume this message only on node A.
> > If I'll go on node B, the message does not exist there, right?
>
> Wrong. A cluster is one logical broker. ALL resources are visible from
> any node within the cluster. Thus if you publish a msg whilst connected
> to node A, it can be routed to a queue on node B, and be consumber by
> another client connected to node C.
>
> Matthew
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list