[ 
https://issues.apache.org/jira/browse/TUSCANY-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws resolved TUSCANY-3757.
---------------------------------

    Resolution: Fixed

I believe it does now

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to