Class AutorecoveringConnection

java.lang.Object
com.rabbitmq.client.impl.recovery.AutorecoveringConnection
All Implemented Interfaces:
Connection, NetworkConnection, Recoverable, RecoverableConnection, ShutdownNotifier, Closeable, AutoCloseable

public class AutorecoveringConnection extends Object implements RecoverableConnection, NetworkConnection
Connection implementation that performs automatic recovery when connection shutdown is not initiated by the application (e.g. due to an I/O exception). Topology (exchanges, queues, bindings, and consumers) can be (and by default is) recovered as well, in this order:
  1. Exchanges
  2. Queues
  3. Bindings (both queue and exchange-to-exchange)
  4. Consumers
Since:
3.3.0
See Also: