Skip to content

Conversation

@artembilan
Copy link
Member

When we configure an output channel for the handler as a FluxMessageChannel, in most cases we assume an async processing for the reply. Especially this is critical when reply is a reactive type, so in the async mode it is "flattened" by the mentioned FluxMessageChannel. Therefore, it is a bit awkward to require to set async explicitly, when we have already configured output channel as a FluxMessageChannel

  • Remove redundant config for async from R2dbcDslTests
  • Mention the change in the docs

When we configure an output channel for the handler as a `FluxMessageChannel`,
in most cases we assume an async processing for the reply.
Especially this is critical when reply is a reactive type, so in the async
mode it is "flattened" by the mentioned `FluxMessageChannel`.
Therefore, it is a bit awkward to require to set async explicitly,
when we have already configured output channel as a `FluxMessageChannel`

* Remove redundant config for async from `R2dbcDslTests`
* Mention the change in the docs
@artembilan
Copy link
Member Author

Will add a Migration Guide note when this is merged.

@garyrussell garyrussell merged commit b999ac1 into spring-projects:main May 8, 2023
@artembilan
Copy link
Member Author

@artembilan artembilan deleted the OutputChannel-as-Flux-handler-async branch May 8, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants