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

AfterLRA notifications are delivered twice

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 5.10.5.Final
    • 5.9.5.Final
    • LRA
    • None

    Description

      @AfterLRA notifications recently introduced in the specification are being delivered twice when the LRA is finished.

      There is actually a TCK test testing this for non JAX-RS participant so this is blocking PR 1450.

      The failing TCK test `TckParticipantTests#validWebApplicationExceptionReturnedTest` asserts now that `@AfterLRA` method is called once after the LRA is finished - https://github.com/eclipse/microprofile-lra/blob/master/tck/src/main/java/org/eclipse/microprofile/lra/tck/TckParticipantTests.java#L82. This means that the specification prohibits that AfterLRA method is called more than once for one LRA.

      This isn't failing current TCK as the assert is present in the non-JAX-RS TCK (PR 1450)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h