Fix upstream RSocket method renames

Align with the recent upstream Spring Framework changes triggered by
their issue #23170.
This commit is contained in:
Phillip Webb
2019-07-13 14:01:04 +01:00
parent 73cd1c9c77
commit b7e092e821

View File

@@ -69,7 +69,7 @@ public class RSocketServerAutoConfiguration {
RSocketWebSocketNettyRouteProvider rSocketWebsocketRouteProvider(RSocketProperties properties,
RSocketMessageHandler messageHandler) {
return new RSocketWebSocketNettyRouteProvider(properties.getServer().getMappingPath(),
messageHandler.serverAcceptor());
messageHandler.serverResponder());
}
}
@@ -101,7 +101,7 @@ public class RSocketServerAutoConfiguration {
@ConditionalOnMissingBean
RSocketServerBootstrap rSocketServerBootstrap(RSocketServerFactory rSocketServerFactory,
RSocketMessageHandler rSocketMessageHandler) {
return new RSocketServerBootstrap(rSocketServerFactory, rSocketMessageHandler.serverAcceptor());
return new RSocketServerBootstrap(rSocketServerFactory, rSocketMessageHandler.serverResponder());
}
}