[rabbitmq-discuss] RabbitMQ clustering fail over issue

Rajasekhar P sekhar434145 at gmail.com
Tue Oct 8 05:39:11 BST 2013


Thanks for the reply MK. Yes, initially it is connected to rabbit1 but
after stopping this node it has to connect to rabbit2 node which is one of
the node in the cluster right? So, here am confusing what is the reason for
not connecting to rabbit2 node?


On Mon, Oct 7, 2013 at 10:53 PM, Michael Klishin <michael at rabbitmq.com>wrote:

>
> On oct 7, 2013, at 9:18 p.m., Rajasekhar P <sekhar434145 at gmail.com> wrote:
>
> > after this warning, again am getting host name as "rabbit1" only.
> actually it should be "rabbit2" as per my understanding but its not
> happening.
>
> I'm far from a spring-amqp expert but suspect it uses
> ConnectionFactory#newConnection
> with multiple addresses from RabbitMQ Java client. That method connects to
> the first
> reachable node. Since in your example rabbit1 is reachable, the client
> does not
> try to connect to other nodes.
>
> As far as 541 INTERNAL_ERROR goes, try looking at RabbitMQ log to see
> if there's more information.
>
> MK
>
>
>
>
> _______________________________________________
> 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/20131008/7988d90f/attachment.htm>


More information about the rabbitmq-discuss mailing list