[jira] [Updated] (TUSCANY-4007) Mutliple delegations for binding.sca

2012-02-01 Thread Simon Laws (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws updated TUSCANY-4007:


Attachment: delegation-v2.patch

Updates to the original patch. Putting here for backup. Am going off this 
approach a little as it's got a bit more complicated. 

 Mutliple delegations for binding.sca
 

 Key: TUSCANY-4007
 URL: https://issues.apache.org/jira/browse/TUSCANY-4007
 Project: Tuscany
  Issue Type: Improvement
  Components: SCA Java Runtime
Affects Versions: Java-SCA-2.x
 Environment: All
Reporter: Simon Laws
 Fix For: Java-SCA-2.0

 Attachments: delegation-v2.patch, delegation.patch


 I've come across a situation where I'd like to support multiple remote 
 delegations for a single binding.sca instance. This came up because I was 
 looking at a situation where I wanted to support reliable and non-reliable 
 comms at the same time so thought I would experiment with delegating to 
 different underlying binding implementations. Currently the code doesn't 
 allow you to do that as it assumes a local delegation and a single remote 
 delegation are represented by the single binding.sca instance take from the 
 component model. 
 I've attached a patch with a fix to make this work. It creates a new endpoint 
 for each required delegation. Am going to raise on the dev list before 
 committing. 

--
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




[jira] [Updated] (TUSCANY-4007) Mutliple delegations for binding.sca

2012-01-23 Thread Simon Laws (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws updated TUSCANY-4007:


Attachment: delegation.patch

 Mutliple delegations for binding.sca
 

 Key: TUSCANY-4007
 URL: https://issues.apache.org/jira/browse/TUSCANY-4007
 Project: Tuscany
  Issue Type: Improvement
  Components: SCA Java Runtime
Affects Versions: Java-SCA-2.x
 Environment: All
Reporter: Simon Laws
 Fix For: Java-SCA-2.0

 Attachments: delegation.patch


 I've come across a situation where I'd like to support multiple remote 
 delegations for a single binding.sca instance. This came up because I was 
 looking at a situation where I wanted to support reliable and non-reliable 
 comms at the same time so thought I would experiment with delegating to 
 different underlying binding implementations. Currently the code doesn't 
 allow you to do that as it assumes a local delegation and a single remote 
 delegation are represented by the single binding.sca instance take from the 
 component model. 
 I've attached a patch with a fix to make this work. It creates a new endpoint 
 for each required delegation. Am going to raise on the dev list before 
 committing. 

--
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