[ 
https://issues.apache.org/jira/browse/TUSCANY-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058665#comment-13058665
 ] 

Mike Edwards commented on TUSCANY-3888:
---------------------------------------

?!?  If the async service encounters a problem, it should be invoking 
ResponseDispatchImpl.sendFault( Throwable e )

If the binding which is invoked by ResponseDispatchImpl.sendResponse() fails 
and throws an exception, I don't see that this exception can be returned to the 
client - since by definition the return path has failed for some reason.  Best 
you can do is to log that the problem occurred.

> ResponseDispatchImpl swallowing binding runtime exceptions
> ----------------------------------------------------------
>
>                 Key: TUSCANY-3888
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3888
>             Project: Tuscany
>          Issue Type: Bug
>          Components: SCA Java Runtime
>    Affects Versions: Java-SCA-2.0-Beta2
>            Reporter: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-2.0
>
>
> ResponseDispatchImpl.sendResponse() sends the response off down the wire...
>               // Use response invoker if present
>               if( respInvoker != null ) {
>                       respInvoker.invokeAsyncResponse(res, null);
>                       return;
>               } // end if
> But this doesn't do anything with a response message with an error in it

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to