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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.9.6.Final
    • 5.9.5.Final
    • LRA
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: