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

Nested LRA doesn't start in the Spring Boot + JAX-RS application

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.8.Final
    • Fix Version/s: 5.10.1.Final
    • Component/s: LRA
    • Labels:
      None

      Description

      For demonstrating purpose, I migrated flight service from narayana quickstart to the Spring Boot application and uploaded it to the attachment.

      When I stop debugger in the original swarm flight service (FlightParticipant line 64), the @HeaderParam(LRA_HTTP_CONTEXT_HEADER) String lraId, is new for that service. When I stop debugger in the SpringBoot+JAX-RS, the lraId is the same as for a parent. It looks that the ServerLRAFilter doesn't start the new LRA.

      I add a breakpoint to the ServerLRAFilter.filter(...) to see when the filter is applied and create new LRA before the JAX-RS method. When I call original swarm flight service, the filter is used however when I call SpringBoot flight service, the filter is not used so it looks that the filter is not used at all in the SpringBoot+JAX-RS application.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mmusgrov Michael Musgrove
                  Reporter:
                  mkralik Matej Kralik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: