Asynch programming model doesn't support Void return types.
------------------------------------------------------------
Key: TUSCANY-3757
URL: https://issues.apache.org/jira/browse/TUSCANY-3757
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-2.x
Environment: All
Reporter: Simon Laws
Fix For: Java-SCA-2.x
I believe that it should be possible to define an asynchronous service
interface with an operation that returns a void, for example,
@AsyncInvocation
public interface CalculatorServiceAsync {
void calculateAsync(Integer n1, ResponseDispatch<String> response);
void printAsync(Integer n1, ResponseDispatch<Void> response);
}
However this doesn't work with Tuscany (various NPEs while parsing the
interface).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.