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

ant elder commented on TUSCANY-2586:
------------------------------------

How about changing the pass-by-value mechanisim to not be done by the 
DataBindingRuntimeWireProcessor but make binding impls do it explicitly when 
required. Looking at the existing Tuscany bindings thats probably only going to 
be binding.sca for local invocations as the others all do pass-by-value in the 
binding protocol.

 

> Pass-by-value copies are being unnecessarily done on services with remote 
> bindings 
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2586
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2586
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: ant elder
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>
> The pass-by-value interceptor gets unnecessarily inserted into the invocation 
> chain for services being exposed by remote bindings. This is breaking JMS 
> services using the native JMS message as the JMS message can't be copied. 
> At one point there was code in the core runtime so this didn't happen but it 
> looks like its been rewritten. There is also now the DataExchangeSemantics 
> interface with the allowsPassByReference method but it looks like thats only 
> used on the reference side not on the service side. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to