Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3037

LRA context is not always removed if the LRA is ended

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.9.0.Final
    • 5.8.2.Final
    • LRA
    • None

    Description

      The following scenario leaves the LRA context still current:

      start an LRA
      call a service annotated with, for example,

      
      

      @LRA(value = LRA.Type.REQUIRED, cancelOn =

      {Response.Status.NOT_FOUND}

      )

      {/code}

      If the invoked method returns the NOT_FOUND status then the LRA is automatically terminated. When the request returns to the client there should be no current LRA context active. The issue here is that the next request that the client makes may still have the old LRA still associated.

      Attachments

        Activity

          People

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: