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)" <tu...@ws.apache.org> on 2008/02/15 17:04:08 UTC

[jira] Closed: (TUSCANY-2028) Conversation does not continue if a Service Reference is passed as a return value (not as a parameter)

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

Simon Laws closed TUSCANY-2028.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Java-SCA-Next)
                   Java-SCA-1.2

Great, thanks Daniel. Also thanks for the test I'll go ahead and merge it into the itest. 


> Conversation does not continue if a Service Reference is passed as a return value (not as a parameter)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2028
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2028
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.0.1
>         Environment: Windows XP SP2, Intel Core 2 CPU, 2.6, 2GB Ram, jdk 1.5.0_10
>            Reporter: Daniel Stucky
>            Assignee: Simon Laws
>             Fix For: Java-SCA-1.2
>
>         Attachments: test.zip, test.zip
>
>
> I have 3 components: Alpha, Beta and Gamma, where Gamma's Interface is marked with @Conversational and @Scope("CONVERSATION"). I want Alpha to call a method on Beta that creates a conversation with Gamma and returns a reference to Gamma. Then I want to reuse that conversation to Gamma from Alpha.
> Therefore I let Alpha call method Beta.getRef(). Inside this method, a reference to Gamma is created via componentContext.getServiceReference() and the conversation is initialized by calling method Gamma.init(). Beta.getRef() returns a CallableReference<Gamma>. So far it works, but as soon as I call a method on that reference from within Alpha, a new Conversation is initialized, the Conversation created between Beta and Gamma is not reused.
> See the original post on the mailing list: http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200802.mbox/%3c69D276452CD2904980D5B6AC33C9BE170A7BBACD@gtlbmlexs0006.bagmail.net%3e 
> And the answer by Simon Laws: http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200802.mbox/%3cc0c051b50802051349y4378f20anc24e8424138504b6@mail.gmail.com%3e

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org