From 507d128e1dd821a38b45449b325e4457f2ff48b3 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 8 Jul 2019 14:47:41 +0200 Subject: [PATCH] Fix RSocket API warning --- .../rsocket/RSocketClientToServerCoroutinesIntegrationTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-messaging/src/test/kotlin/org/springframework/messaging/rsocket/RSocketClientToServerCoroutinesIntegrationTests.kt b/spring-messaging/src/test/kotlin/org/springframework/messaging/rsocket/RSocketClientToServerCoroutinesIntegrationTests.kt index c15aa0609f2..23e64e3c3c9 100644 --- a/spring-messaging/src/test/kotlin/org/springframework/messaging/rsocket/RSocketClientToServerCoroutinesIntegrationTests.kt +++ b/spring-messaging/src/test/kotlin/org/springframework/messaging/rsocket/RSocketClientToServerCoroutinesIntegrationTests.kt @@ -199,7 +199,7 @@ class RSocketClientToServerCoroutinesIntegrationTests { context = AnnotationConfigApplicationContext(ServerConfig::class.java) server = RSocketFactory.receive() - .addServerPlugin(interceptor) + .addResponderPlugin(interceptor) .frameDecoder(PayloadDecoder.ZERO_COPY) .acceptor(context.getBean(RSocketMessageHandler::class.java).serverAcceptor()) .transport(TcpServerTransport.create("localhost", 7000))