Class AfterLRAParticipant

java.lang.Object
org.eclipse.microprofile.lra.tck.participant.api.AfterLRAParticipant

@ApplicationScoped @Path("after-lra-participant") public class AfterLRAParticipant extends Object
resource for testing that methods annotated with AfterLRA are notified correctly when an LRA terminates
  • Field Details

  • Constructor Details

    • AfterLRAParticipant

      public AfterLRAParticipant()
  • Method Details

    • completeWork

      @PUT @Path("/complete") public jakarta.ws.rs.core.Response completeWork(@HeaderParam("Long-Running-Action") URI lraId)
    • compensateWork

      @PUT @Path("/compensate") public jakarta.ws.rs.core.Response compensateWork(@HeaderParam("Long-Running-Action") URI lraId)
    • activityWithLRA

      @PUT @Path("work") public jakarta.ws.rs.core.Response activityWithLRA(@HeaderParam("Long-Running-Action-Recovery") URI recoveryId, @HeaderParam("Long-Running-Action") URI lraId)
    • afterEnd

      @PUT @Path("/after") public jakarta.ws.rs.core.Response afterEnd(@HeaderParam("Long-Running-Action-Ended") URI lraId, LRAStatus status)