Tuscany
  1. Tuscany
  2. TUSCANY-1996

ConversationEndedException is not thrown.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: Java-SCA-1.0.1
    • Fix Version/s: Java-SCA-1.x
    • Component/s: SCA Java Runtime
    • Labels:
      None
    • Environment:
      Revision: 596254

      Description

      ConversationEndedException is not thrown if you reuse a service after you have ended the conversation or the conversation has expired. Instead it starts a new conversation with the same conversation id. This can be seen in the conversationPreInvoke method in the JDKInvocationHandler. Where conversations are re-used even if they are in the ended state.

      Ben

        Activity

        ant elder made changes -
        Component/s SCA Java Runtime [ 12313754 ]
        Component/s Java SCA Core Runtime [ 12310647 ]
        Ben Smith made changes -
        Resolution Invalid [ 6 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Ben Smith made changes -
        Field Original Value New Value
        Comment [ I am working on a patch for this issue. Will take into account Simons comments and ensure that the exception is thrown on expired conversations.

        With regards to conversations that have have ended through an @EndsConversations method I have noticed that if it uses a System generated Conversation ID it will reuse this ID. Should it not instead create a new one?

        Ben ]
        Ben Smith created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Ben Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development