]
Tom Jenkinson reassigned JBTM-1863:
-----------------------------------
Assignee: Michael Musgrove (was: Tom Jenkinson)
RESTAT Integration API does not allow participants to leave a
transaction early
-------------------------------------------------------------------------------
Key: JBTM-1863
URL:
https://issues.jboss.org/browse/JBTM-1863
Project: JBoss Transaction Manager
Issue Type: Feature Request
Components: REST
Affects Versions: 5.0.0.M3
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Priority: Minor
Fix For: 6.later
The restat integration API class org.jboss.
narayana.rest.integration.api.ParticipantsManager interface does not allow participants to
leave the transaction early (in the spec a participant can DELETE the participant-recovery
URI to notify the coordinator that it is leaving the transaction early).
Question: The reportHeuristic method allows participants to leave the transaction after
the termination protocol has started. To keep the interface simple would it be sensible to
replace reportHeuristic with something that covered leaving a transaction at any time or
would that be confusing normal operations with error conditions? If so then maybe just the
converse of enlist?