GH-3763: Add handleReactive() for Java DSL (#8605)
* GH-3763: Add `handleReactive()` for Java DSL Fixes https://github.com/spring-projects/spring-integration/issues/3763 Add a convenient terminal operator to `BaseIntegrationFlowDefinition` based on a `ReactiveMessageHandler`. Also add an overload like `handleReactive(ReactiveMessageHandlerSpec)` to let end-user to choose a protocol-specific channel adapter * * Fix `Namespace Factory` wording in the `BaseIntegrationFlowDefinition` Javadocs * Fix language in Docs Co-authored-by: Gary Russell <grussell@vmware.com> --------- Co-authored-by: Gary Russell <grussell@vmware.com>
This commit is contained in:
@@ -425,7 +425,7 @@ class MongoDbTests implements MongoDbContainerTest {
|
||||
public IntegrationFlow reactiveStore() {
|
||||
return f -> f
|
||||
.channel(MessageChannels.flux())
|
||||
.handle(MongoDb.reactiveOutboundChannelAdapter(REACTIVE_MONGO_DATABASE_FACTORY));
|
||||
.handleReactive(MongoDb.reactiveOutboundChannelAdapter(REACTIVE_MONGO_DATABASE_FACTORY));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user