[rabbitmq-discuss] Clients reconnection logic

garyrussell grussx at gmail.com
Tue Jan 31 20:04:01 GMT 2012


You may be aware that there is a Spring abstraction on top of the
Rabbit client here http://www.springsource.org/spring-amqp

We are currently working on adding HA features on this branch
https://github.com/garyrussell/spring-amqp/tree/AMQP-206a

This allows things like providing the connection factory with a list
of servers enabling failover - you catch an exception on
template.send() and resubmit and it will reconnect on the next attempt
(selecting one of the other servers). Listeners detect cancels from
brokers (essential if a consumer is receiving from a copy of an HA
queue, and not the master).

Also, we have AMQP adapters in the Spring Integration project
http://www.springsource.org/spring-integration

We are also working on enhancements there to automatically retry in
the event of a failiure.


More information about the rabbitmq-discuss mailing list