Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1943

Support for destroying the entire ConversationStack

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.CR1
    • Fix Version/s: 2.1.0.CR1
    • Component/s: Core
    • Labels:

      Description

      There are situations where I would like to be able to destroy the entire conversation stack if a particular action occurs (say a user cancels everything during a nested conversation, an exception occurs during a nested conversation, etc). I am currently accomplishing this through the following:

      private void endRootConversation() {
      Conversation conversation = Conversation.instance();

      while(conversation.isNested())

      { conversation.root(); }

      conversation.endBeforeRedirect();
      }

      I would prefer to say something like @End(root=true) or specifying conversationPropogation="endRoot". Similar discussions on the forum are:

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112414&postdays=0&postorder=asc&start=10
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118936&postdays=0&postorder=asc&start=20

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jacob.orshalick Jacob Orshalick
                  Reporter:
                  jacob.orshalick Jacob Orshalick
                • Votes:
                  14 Vote for this issue
                  Watchers:
                  15 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: