[JBoss JIRA] (JBTM-3037) LRA context is not always removed if the LRA is ended
by Michael Musgrove (JIRA)
Michael Musgrove created JBTM-3037:
--------------------------------------
Summary: LRA context is not always removed if the LRA is ended
Key: JBTM-3037
URL: https://issues.jboss.org/browse/JBTM-3037
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.8.2.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.next
The following scenario leaves the LRA context still current:
start an LRA
call a service annotated with, for example,
{code}
@LRA(value = LRA.Type.REQUIRED, cancelOn = {Response.Status.NOT_FOUND})
{/code}
If the invoked method returns the NOT_FOUND status then the LRA is automatically terminated. When the request returns to the client there should be no current LRA context active. The issue here is that the next request that the client makes may still have the old LRA still associated.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)