We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gateway()
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Technically, we can do even right now like this:
.gateway("processChannel", g -> g.async(true))
but this does nothing internally for the GatewayMessageHandler since therefore no respective async condition for the AbstractMessageProducingHandler:
GatewayMessageHandler
AbstractMessageProducingHandler
if (this.async) { boolean isFutureReply = reply instanceof CompletableFuture<?>; ReactiveAdapter reactiveAdapter = null; if (!isFutureReply) { reactiveAdapter = ReactiveAdapterRegistry.getSharedInstance().getAdapter(null, reply); } if (isFutureReply || reactiveAdapter != null) {
Since GatewayMessageHandler uses this contract interface:
@FunctionalInterface public interface RequestReplyExchanger { Message<?> exchange(Message<?> request) throws MessagingException; }
Looks like we should introduce a CompletableFuture-based exchanger.
CompletableFuture
More info in: https://stackoverflow.com/questions/79609414/spring-integration-recommended-splitter-aggregator-setup-for-async-subflow-rep.
The text was updated successfully, but these errors were encountered:
bd4e041
GH-10018: Fix bugs from the previous commit
cf6f2d6
Related to: #10018
No branches or pull requests
Technically, we can do even right now like this:
but this does nothing internally for the
GatewayMessageHandler
since therefore no respective async condition for theAbstractMessageProducingHandler
:Since
GatewayMessageHandler
uses this contract interface:Looks like we should introduce a
CompletableFuture
-based exchanger.More info in: https://stackoverflow.com/questions/79609414/spring-integration-recommended-splitter-aggregator-setup-for-async-subflow-rep.
The text was updated successfully, but these errors were encountered: