]
Michael Musgrove reassigned JBTM-3239:
--------------------------------------
Assignee: Michael Musgrove (was: Martin Stefanko)
Failing AfterLRA participant calls are not repeated with recovery
module
------------------------------------------------------------------------
Key: JBTM-3239
URL:
https://issues.redhat.com/browse/JBTM-3239
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.10.1.Final
Reporter: Martin Stefanko
Assignee: Michael Musgrove
Priority: Major
The afterLRA calls are currently delivered only twice when the LRA is finished (twice
because of JBTM-3163). When these two calls fail the afterLRA call is never repeated
again. However, the specification states that afterLRA must be repeated until the 200
status code is returned.
The main reason for this issue is the handling of afterLRA listeners in the Transaction
object which means that the LRA enters the end phase (Closed/Cancelled) then the afterLRA
listeners are called (twice because of above-mentioned issue) but if these calls fail
there is nothing telling the transaction object to repeat the calls on the recovery.