Optimize a MessagingMessageListenerAdapter
returning null
from the DelegatingInvocableHandler.invoke()
#3697
Labels
Milestone
Right now the
DelegatingInvocableHandler.invoke()
always returns anInvocationResult
even ifresult == null
.In the end we may just have a log message like:
which is not always true for the regular
void @KafkaHandler
method.Changing the logic in the mention method to:
would make some optimization where we would not try to resolve any reply attempts and creation of many interim objects like
CompletableFuture
.Since this would be a breaking change, the issue is scheduled for the next
4.0
major version.The text was updated successfully, but these errors were encountered: