Upgrade to the latest Reactor & SF
Related to https://github.com/spring-projects/spring-framework/issues/25884 * Don't use `MonoProcessor` & `FluxProcessor` since they are deprecated now * Fix RSocket components to use an `AtomicReference` header instead of deprecated `MonoProcessor` * Introduce an internal `IntegrationRSocketPayloadReturnValueHandler` to handle properly a Spring Integration case for inbound requests with its `IntegrationRSocketEndpoint` implementation * Don't do response handling in the `RSocketInboundGateway` any more since it is deferred now to the `IntegrationRSocketPayloadReturnValueHandler` * Remove internal `ChannelSendOperator` since it is out of use from now on
This commit is contained in:
@@ -51,7 +51,6 @@ import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
|
||||
|
||||
import reactor.core.Disposable;
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.core.publisher.FluxProcessor;
|
||||
|
||||
/**
|
||||
* @author Artem Bilan
|
||||
@@ -141,7 +140,7 @@ public class FluxMessageChannelTests {
|
||||
|
||||
flowRegistration.destroy();
|
||||
|
||||
assertThat(TestUtils.getPropertyValue(flux, "processor", FluxProcessor.class).isTerminated()).isTrue();
|
||||
assertThat(TestUtils.getPropertyValue(flux, "sink.sink.done", Boolean.class)).isTrue();
|
||||
}
|
||||
|
||||
@Configuration
|
||||
|
||||
Reference in New Issue
Block a user