You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#3183
* Introduce a `BaseReplyProducingMessageHandler` with common advices logic for target message handler
* Implement `BaseReplyProducingMessageHandler` from the `AbstractReplyProducingMessageHandler`
and newly introduced `AbstractReactiveReplyProducingMessageHandler` for message handlers with `Mono` replies
* Introduce a `ReactiveRequestHandlerAdvice` with a `BiFunction<Message<?>, Mono<?>, Publisher<?>>`
logic to apply a `Mono.transform()` operator for a returned from the handler `Mono` reply
* Make `RSocketOutboundGateway` implementing an `AbstractReactiveReplyProducingMessageHandler`
* Fix `WebFluxRequestExecutingMessageHandler` to return a `Mono.then()` instead of an explicit subscription -
it happens downstream anyway during reply producing with a proper error handling, too
* Fix `ConsumerEndpointSpec` & `ConsumerEndpointFactoryBean` to deal with an
`AbstractReactiveReplyProducingMessageHandler` as well
* Demonstrate `ReactiveRequestHandlerAdvice` in the `RSocketDslTests` - without `retry()` it fails
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/config/ConsumerEndpointFactoryBean.java
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java
+8-71
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2019 the original author or authors.
2
+
* Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments