Search in sources :

Example 1 with CommitFailureRecoveryDurable2PCParticipant

use of com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitFailureRecoveryDurable2PCParticipant in project narayana by jbosstm.

the class ATParticipantProcessor method replayCommit.

/**
 * Execute the ReplayCommit
 * @param map The current addressing context.
 *
 * @throws SoapFault11 for errors during processing
 */
public void replayCommit(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
    try {
        final CommitFailureRecoveryDurable2PCParticipant participant = new CommitFailureRecoveryDurable2PCParticipant();
        final ParticipantEngine engine = ATInteropUtil.registerDurable2PC(coordinationContext, participant, new Uid().toString());
        participant.setEngine(engine);
    } catch (final Throwable th) {
        throw new SoapFault11(th);
    }
}
Also used : Uid(com.arjuna.ats.arjuna.common.Uid) ParticipantEngine(com.arjuna.wst11.messaging.engines.ParticipantEngine) SoapFault11(com.arjuna.webservices11.SoapFault11) CommitFailureRecoveryDurable2PCParticipant(com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitFailureRecoveryDurable2PCParticipant)

Aggregations

Uid (com.arjuna.ats.arjuna.common.Uid)1 SoapFault11 (com.arjuna.webservices11.SoapFault11)1 ParticipantEngine (com.arjuna.wst11.messaging.engines.ParticipantEngine)1 CommitFailureRecoveryDurable2PCParticipant (com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitFailureRecoveryDurable2PCParticipant)1