From b7e092e821021b7c0dbd91eacfe369181bfa28b8 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sat, 13 Jul 2019 14:01:04 +0100 Subject: [PATCH] Fix upstream RSocket method renames Align with the recent upstream Spring Framework changes triggered by their issue #23170. --- .../autoconfigure/rsocket/RSocketServerAutoConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/rsocket/RSocketServerAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/rsocket/RSocketServerAutoConfiguration.java index ad8a11f3e4..27aaa43abc 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/rsocket/RSocketServerAutoConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/rsocket/RSocketServerAutoConfiguration.java @@ -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()); } }