]
Tom Jenkinson reassigned JBTM-2493:
-----------------------------------
Assignee: Michael Musgrove (was: Tom Jenkinson)
REST-AT integration API silently ignores non persistable
participants
---------------------------------------------------------------------
Key: JBTM-2493
URL:
https://issues.jboss.org/browse/JBTM-2493
Project: JBoss Transaction Manager
Issue Type: Bug
Components: REST
Affects Versions: 5.2.2
Reporter: Michael Musgrove
Assignee: Michael Musgrove
The RESTAT integration API Participant interface is serialized during commit processing
(in the method
org.jboss.narayana.rest.integration.RecoveryManager#persistParticipantInformation) but the
interface does not document this responsibility. The javadoc should say something like:
{code}
* Participant implementations must be implement either {@link java.io.Serializable} or
{@link PersistableParticipant}
}
Secondly, during commit processing RecoveryManager#persistParticipantInformation needs to
throw an exception if the participant cannot be written to the object store. At the moment
it just writes a TRACE message.