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

Simon Laws commented on TUSCANY-3932:
-------------------------------------

Following on from my first comment I've made some initial changes at revision: 
1228150 to make the handling of callbacks more consistent in the code as it 
stands at the moment. These are. 

Make the sca binding retain it's original URI rather than overwriting with the 
delegate URI (I've added some more fields to hold the delegate info)
Have the delegate WS binding detect when it is delegating and pass the sca 
binding URI for callbacks in this case. In this was the callback code at the 
service can use the usual SCA endpoint lookup process to satisfy the callback 
reference.
Make the JMS binding use the From EPR->CallbackEP model to transfer the 
callback binding infro into the infrastructure. This simplifies the 
CallbackServiceReference somewhat. 
                
> Callbacks don't work in the distributed domain
> ----------------------------------------------
>
>                 Key: TUSCANY-3932
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3932
>             Project: Tuscany
>          Issue Type: Bug
>          Components: SCA Java Runtime
>    Affects Versions: Java-SCA-2.0-Beta3
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-2.0
>
>
> The callback wire calculation currently requires knowledge of the service 
> runtime. This will not be available in the distributed case where the 
> Endpoint matched by and retrieved from the registry will not have a built 
> runtime behind it. We need to refactor this based on the configuration 
> available in the SCDL written to represent a remote Endpoint.
> Of particular interest is callback bindings that are generated vs callback 
> bindings that are specified by the user. If a user specifies a binding this 
> should automatically be available in the reference node as it will be written 
> be default when the Endpoint is written out. Automatically generated callback 
> bindings, usually generated to match the forward binding, won't be in that 
> list and won't get written out so we need to address that. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to