インターフェースの使用 
org.springframework.messaging.tcp.ReconnectStrategy
ReconnectStrategy を使用するパッケージ 
 パッケージ 
 説明 
TcpOperations を介して TCP 接続を確立し、TcpConnectionHandler を介してメッセージを処理し、TcpConnection を介してメッセージを送信するための抽象化と実装クラスが含まれています。Reactor に基づく TCP メッセージングのサポートが含まれています。
- org.springframework.messaging.tcp 内の ReconnectStrategy 使用ReconnectStrategy を実装している org.springframework.messaging.tcp のクラス型 ReconnectStrategy のパラメーターを持つ org.springframework.messaging.tcp のメソッド修飾子と型メソッド説明- default ListenableFuture<VoidSE>TcpOperations.- connect- (TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。TcpOperations.- connectAsync- (TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) 新しい接続を開き、接続が失敗した場合の再接続方法を示します。
- org.springframework.messaging.tcp.reactor 内の ReconnectStrategy 使用型 ReconnectStrategy のパラメーターを持つ org.springframework.messaging.tcp.reactor のメソッド修飾子と型メソッド説明ReactorNetty2TcpClient.- connectAsync- (TcpConnectionHandler<P> handler, ReconnectStrategy strategy) ReactorNettyTcpClient.- connectAsync- (TcpConnectionHandler<P> handler, ReconnectStrategy strategy) 
TcpOperations.connectAsync(TcpConnectionHandler, ReconnectStrategy)を推奨