Remoting support for async calls methods with void return types [SPR-4427] #9105
Labels
in: messaging
Issues in messaging modules (jms, messaging)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Eric Simmerman opened SPR-4427 and commented
JMS Remoting does not currently support async calls nor does it support invocation of methods with void return types. This patch address both issues.
Async invocation is used automatically where the invoked method has void return type and no declared Exceptions. I simply set the replyTo queue to null and properly handle that through the invocation. Obviously I do not wait for any reply in the control flow.
To properly handle methods with checked exceptions but void return type, I inserted support for returning null from a remoting call.
Affects: 2.5.1
Attachments:
2 votes, 5 watchers
The text was updated successfully, but these errors were encountered: