public class AutoRecoverConnectionNotCurrentlyOpenException extends AmqpException
Spring AMQP has had its own recovery logic since day one. The amqp-client library now
supports automatic connection and topology recovery; and, since 4.0.0, it is enabled by
default. While Spring AMQP is compatible with the client recovery logic, it's generally
not necessary to use it; in fact, you may recover faster when relying on Spring AMQP's
recovery, especially on the producer side, when a
RabbitTemplate
has a
RetryTemplate
.
If you get this exception, consider disabling the client auto recovery. Spring AMQP disables it by default, unless you configure the underlying rabbit connection factory yourself.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString