Hi,<br><br>I have just started working with RabbitMQ for my cloud messaging/eventing application. The proof of concept worked well with rabbitMQ and Spring AMQP. Now, I want to start preparing for scalability. <br>I am able to setup a rabbitMQ cluster with 2 rabbitMQs installed on 2 separate machines. Now I want to know what is achieved by "clustering" in terms of rabbitMQ. <br>
<br>My spring amqp template has been given a connection Factory like this:<br><b><br>��� <!-- RabbitMQ configurations --><br>��� <!-- Define a connectionFactory --><br>��� <bean id="connectionFactory"<br>
��� ��� class="org.springframework.amqp.rabbit.connection.SingleConnectionFactory"><br>��� ��� <constructor-arg value="localhost" /><br>��� ��� <property name="username" value="guest" /><br>
��� ��� <property name="password" value="guest" /><br>��� </bean><br><br>��� <!-- Configure the admin class --><br>��� <bean id="amqpAdmin" class="org.springframework.amqp.rabbit.core.RabbitAdmin"><br>
��� ��� <constructor-arg ref="connectionFactory" /><br>��� </bean></b><br><br>Here I have specified <b>localhost</b>, so now, if I send a amqp message through rabbitMQ and this localhost broker is not up, will that message go through its cluster node automatically ?<br>
<br>If that's the case, then what do we mean by high availability?<br><br>Thanks,<br>Kshitiz Garg<br><br><br><br><br>