[jira] Updated: (TUSCANY-1999) ConversationAttributes and expiry doesn't work with Stateless Conversational components

2008-02-14 Thread Simon Laws (JIRA)

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

Simon Laws updated TUSCANY-1999:


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

 ConversationAttributes and expiry doesn't work with Stateless Conversational 
 components
 ---

 Key: TUSCANY-1999
 URL: https://issues.apache.org/jira/browse/TUSCANY-1999
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.1
Reporter: Ben Smith
Assignee: Simon Laws
 Fix For: Java-SCA-1.2

 Attachments: ConversationExpiry.patch


 In services that are marked as @Conversational yet have scope of STATELESS 
 the following problems occur
 Caused by: 
 org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConversationalImplementation:
  Service is marked with @ConversationAttributes but the scope is not 
 @Scope(CONVERSATION)
   at 
 org.apache.tuscany.sca.implementation.java.introspect.impl.ConversationProcessor.visitClass(ConversationProcessor.java:57)
 Also looking at the code it looks as if that expiring of conversations only 
 occurs with services that are of scope CONVERSATION. I believe that the above 
 should work with all services marked as @Conversational. 
 To fix this I'm thinking that the job of expiring conversations should be 
 moved from the ConversationalScopeContainer into the ConversationManager and 
 the check in the ConversationProcessor changed to check for the 
 @Conversational tag not @Scope(CONVERSATION)
 Ben

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



[jira] Updated: (TUSCANY-1999) ConversationAttributes and expiry doesn't work with Stateless Conversational components

2008-01-21 Thread Ben Smith (JIRA)

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

Ben Smith updated TUSCANY-1999:
---

Attachment: ConversationExpiry.patch

I've included a patch to sort out this problem. 

 ConversationAttributes and expiry doesn't work with Stateless Conversational 
 components
 ---

 Key: TUSCANY-1999
 URL: https://issues.apache.org/jira/browse/TUSCANY-1999
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.1
Reporter: Ben Smith
 Fix For: Java-SCA-Next

 Attachments: ConversationExpiry.patch


 In services that are marked as @Conversational yet have scope of STATELESS 
 the following problems occur
 Caused by: 
 org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConversationalImplementation:
  Service is marked with @ConversationAttributes but the scope is not 
 @Scope(CONVERSATION)
   at 
 org.apache.tuscany.sca.implementation.java.introspect.impl.ConversationProcessor.visitClass(ConversationProcessor.java:57)
 Also looking at the code it looks as if that expiring of conversations only 
 occurs with services that are of scope CONVERSATION. I believe that the above 
 should work with all services marked as @Conversational. 
 To fix this I'm thinking that the job of expiring conversations should be 
 moved from the ConversationalScopeContainer into the ConversationManager and 
 the check in the ConversationProcessor changed to check for the 
 @Conversational tag not @Scope(CONVERSATION)
 Ben

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