Introduce ClientRSocketConnector.getRequester()

* Restore `Mono<RSocketRequester> getRSocketRequester()` on
`ClientRSocketConnector` and deprecate it in favor of newly introduced
`RSocketRequester getRequester()`: there is no need in wrapping a
`RSocketRequester` to deferred `Mono` since internal logic of the
`RSocketRequester` on client side is based on lazy-load API of the
`RSocketClient`
This commit is contained in:
Artem Bilan
2020-07-22 10:25:47 -04:00
parent 2c42c9181d
commit 730c157064
4 changed files with 21 additions and 6 deletions

View File

@@ -96,8 +96,7 @@ public class RSocketInboundGatewayIntegrationTests {
this.serverRsocketRequester = serverConfig.clientRequester.asMono().block(Duration.ofSeconds(10));
}
else {
this.clientRsocketRequester =
this.clientRSocketConnector.getRSocketRequester();
this.clientRsocketRequester = this.clientRSocketConnector.getRequester();
}
}