Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2493

REST-AT integration API silently ignores non persistable participants

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.2.2
    • None
    • REST
    • None

    Description

      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:

      
      
      • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: