Michael Musgrove created JBTM-2493:
--------------------------------------
Summary: 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: Gytis Trikleris
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)