You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2011/06/28 18:28:17 UTC
[jira] [Created] (TUSCANY-3888) ResponseDispatchImpl swallowing
binding runtime exceptions
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
[jira] [Commented] (TUSCANY-3888) ResponseDispatchImpl swallowing
binding runtime exceptions
Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
[ 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