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

@LRA may begin a nested LRA without the presence of @NestedLRA

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.9.5.Final
    • Fix Version/s: 5.next
    • Component/s: LRA
    • Labels:
      None

      Description

      If a JAX-RS method is invoked and the following conditions are met:

      • the invoked method is annotated with LRA.Type.REQUIRES_NEW;
      • the invoked method is not annotated with @Nested;
      • there is an LRA context present on the incoming request

      then the implementation (of the LRA spec) will begin a nested LRA which is contrary to the specified behaviour. Note that there is an outstanding issue regarding nested LRAs but this issue affects the implementation of the current specification and needs fixing.

      In addition there is also the situation where the outbound JAX-RS request filter may override the LRA context header (this issue can be reproduced by starting an LRA and then starting a JAX-RS request with a different "LRA context header" - the expected behaviour in this case is to run the request with the context set by the user.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmusgrov Michael Musgrove
                Reporter:
                mmusgrov Michael Musgrove
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: