[ https://issues.apache.org/jira/browse/TUSCANY-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569295#action_12569295 ]
Daniel Stucky commented on TUSCANY-2028: ---------------------------------------- Yes, I tested it with version 1.1 the test now completes as expected.. > 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-Next > > 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/[EMAIL > PROTECTED] > And the answer by Simon Laws: > http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200802.mbox/[EMAIL > PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]