クラス AutoRecoverConnectionNotCurrentlyOpenException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.amqp.AmqpException
org.springframework.amqp.rabbit.connection.AutoRecoverConnectionNotCurrentlyOpenException
- 実装済みのインターフェース一覧:
SerializableSE
接続が現在開かれておらず、回復中の自動回復接続である場合にスローされる例外。
Spring AMQP は、リリース当初から独自のリカバリロジックを備えています。amqp-client ライブラリは、自動接続およびトポロジーリカバリをサポートするようになり、4.0.0 以降はデフォルトで有効になっています。Spring AMQP はクライアントのリカバリロジックと互換性がありますが、通常は使用する必要はありません。実際、特にプロデューサー側で RabbitTemplate が RetryTemplate を持つ場合、Spring AMQP のリカバリを利用した方がリカバリが速くなる可能性があります。
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.
- 導入:
- 2.0
- 作成者:
- Gary Russell, Alexei Sischin
- 関連事項:
コンストラクター概要
コンストラクター方法の概要
コンストラクターの詳細
AutoRecoverConnectionNotCurrentlyOpenException