Search in sources :

Example 1 with RollbackDurable2PCParticipant

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

the class ATParticipantProcessor method phase2Rollback.

/**
 * Execute the Phase2Rollback
 * @param map The current addressing context.
 *
 * @throws SoapFault11 for errors during processing
 */
public void phase2Rollback(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
    try {
        ATInteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString());
        ATInteropUtil.registerDurable2PC(coordinationContext, new RollbackDurable2PCParticipant(), new Uid().toString());
    } catch (final Throwable th) {
        throw new SoapFault11(th);
    }
}
Also used : CommitVolatile2PCParticipant(com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant) Uid(com.arjuna.ats.arjuna.common.Uid) RollbackDurable2PCParticipant(com.jboss.transaction.txinterop.webservices.atinterop.participant.RollbackDurable2PCParticipant) SoapFault11(com.arjuna.webservices11.SoapFault11)

Aggregations

Uid (com.arjuna.ats.arjuna.common.Uid)1 SoapFault11 (com.arjuna.webservices11.SoapFault11)1 CommitVolatile2PCParticipant (com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant)1 RollbackDurable2PCParticipant (com.jboss.transaction.txinterop.webservices.atinterop.participant.RollbackDurable2PCParticipant)1