[rabbitmq-discuss] Load balancing connections to a rabbitmq cluster

Michael Klishin mklishin at gopivotal.com
Mon Feb 24 07:15:33 GMT 2014


On 24 Feb 2014, at 11:10, McIntosh Jason <mcintoshj at gmail.com> wrote:

> Spring amqp in java will auto reconnect after a forced connection close.  Of course any existing transactions would fail.  I'm not sure if a server connection administratively closing the connection would wait for a finish on the existing transaction or not, but that can be tested.  I've seen this work on our consumer processes when we had a node fail,

Sure. A very similar feature is being added to the Java client proper. However, this is not periodic
reconnects.

Good point that if the OP uses spring-amqp, it may be sufficient to periodically close connections via HTTP API or rabbitmqctl.

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list