Fix distributed composition test
Added override of handleMessage(..) to FunctionRSocketMessageHandler to be able to register functions on demand instead of pre-registering all of them during the init
This commit is contained in:
@@ -220,7 +220,7 @@ public class RSocketAutoConfigurationTests {
|
||||
}
|
||||
}
|
||||
|
||||
@Disabled
|
||||
// @Disabled
|
||||
@Test
|
||||
public void testRequestReplyFunctionWithComposition() {
|
||||
int portA = SocketUtils.findAvailableTcpPort();
|
||||
@@ -247,7 +247,7 @@ public class RSocketAutoConfigurationTests {
|
||||
applicationContext2.getBean(RSocketRequester.Builder.class);
|
||||
|
||||
rsocketRequesterBuilder.tcp("localhost", portB)
|
||||
.route("reverse")
|
||||
.route("reverse>localhost:" + portA + "|wrap")
|
||||
.data("\"hello\"")
|
||||
.retrieveMono(String.class)
|
||||
.as(StepVerifier::create)
|
||||
|
||||
Reference in New Issue
Block a user