[
https://issues.apache.org/jira/browse/TUSCANY-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew Sykes updated TUSCANY-1052:
-----------------------------------
Description:
Tuscany assumes that the forward operation of a bi-directional interface is
non-blocking with respect to the client while the spec does not require that.
Based on this assumption, Tuscany's implementation treats the forward operation
as if it never returns anything but void and does not raise exceptions. This
assumption generally results in an NPE on the client as the
NonBlockingBridgingInterceptor was used in wiring.
For further information, please see the development list threads associated
with http://www.mail-archive.com/[email protected]/msg12511.html and
http://www.mail-archive.com/[email protected]/msg12780.html .
According to those threads, this behavior is not compliant with the Assembly
specification as written.
was:
Tuscany assumes that the forward operation of a bi-directional interface is
non-blocking with respect to the client while the spec does not require that.
Based on this assumption, Tuscany's implementation treats the forward operation
as if it never returns anything but void and does not raise exceptions. This
assumption generally results in an NPE on the client as the
NonBlockingBridgingInterceptor was used in wiring.
For further information, please see the development list thread associated
http://www.mail-archive.com/[email protected]/msg12511.html .
According to that thread, this behavior is not compliant with the Assembly
specification.
Added additional message pointer.
> Bi-directional intefaces are assumed to be non-blocking but are not required
> to be
> ----------------------------------------------------------------------------------
>
> Key: TUSCANY-1052
> URL: https://issues.apache.org/jira/browse/TUSCANY-1052
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2, Java-M3
> Environment: Tuscany revision 495535
> Reporter: Matthew Sykes
> Fix For: Java-M3
>
>
> Tuscany assumes that the forward operation of a bi-directional interface is
> non-blocking with respect to the client while the spec does not require that.
> Based on this assumption, Tuscany's implementation treats the forward
> operation as if it never returns anything but void and does not raise
> exceptions. This assumption generally results in an NPE on the client as the
> NonBlockingBridgingInterceptor was used in wiring.
> For further information, please see the development list threads associated
> with http://www.mail-archive.com/[email protected]/msg12511.html and
> http://www.mail-archive.com/[email protected]/msg12780.html .
> According to those threads, this behavior is not compliant with the Assembly
> specification as written.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]