Align RSocket module with the latest SF
* Upgrade to RSocket API `1.0.0-RC3-SNAPSHOT` * Use the same `rSocketMessageHandler.responder()` callback for client and server rsocket factories configuration * Clean up `ClientRSocketConnector` and `ServerRSocketConnector` JavaDocs not mentioning overriding any more * Use `WellKnownMimeType.MESSAGE_RSOCKET_COMPOSITE_METADATA` constant instead of built-in literal * Fix `RSocketOutboundGatewayIntegrationTests` according the SF changes
This commit is contained in:
@@ -119,7 +119,7 @@ public class RSocketOutboundGatewayIntegrationTests {
|
||||
serverContext = new AnnotationConfigApplicationContext(ServerConfig.class);
|
||||
server = RSocketFactory.receive()
|
||||
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
||||
.acceptor(serverContext.getBean(RSocketMessageHandler.class).serverResponder())
|
||||
.acceptor(serverContext.getBean(RSocketMessageHandler.class).responder())
|
||||
.transport(TcpServerTransport.create("localhost", 0))
|
||||
.start()
|
||||
.block();
|
||||
@@ -531,7 +531,7 @@ public class RSocketOutboundGatewayIntegrationTests {
|
||||
.dataMimeType("text/plain")
|
||||
.metadataMimeType("message/x.rsocket.routing.v0")
|
||||
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
||||
.acceptor(messageHandler().clientResponder())
|
||||
.acceptor(messageHandler().responder())
|
||||
.transport(TcpClientTransport.create("localhost", server.address().getPort()))
|
||||
.start()
|
||||
.block();
|
||||
|
||||
Reference in New Issue
Block a user