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

Lucas Souza lucasas at gmail.com
Thu Mar 17 14:54:18 GMT 2011


Is there other way to do this?

The guys here complain the DRBD mode.

Suppose that I decide to not use DRBD and Pacemaker to do replication
of messages. What will be the improvements that I win when using
RabbitMQ Clusters?

Actually, I'll need HA, not scalability. I guess that I dont need a
cluster, right?



On 17 mar, 11:23, Matthew Sackman <matt... at rabbitmq.com> wrote:
> On Thu, Mar 17, 2011 at 07:18:52AM -0700, Lucas Souza wrote:
> > Anyone can help me?
>
> I'm sure we can!
>
> > On 16 mar, 16:10, Lucas Souza <luca... at gmail.com> wrote:
> > > 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?
>
> Ok, so it's a bit more complex: each queue resides on a single node. As
> a result, if that node fails, then the queue and its contents are lost.
> There are a number of ways of working around this, ranging from
> publishing to multiple redundant queues, to the pacemaker work
> (http://www.rabbitmq.com/pacemaker.html), to experimental work in
> development on mirrored queues.
>
> Queues _reside_ on the node to which the client was connected when the
> client created the queue initially. The queue is addressable from any
> node within the cluster, both from a publishing and consuming pov.
>
> 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