Search in sources :

Example 1 with ExitParticipant

use of com.jboss.transaction.txinterop.webservices.bainterop.participant.ExitParticipant in project narayana by jbosstm.

the class BAParticipantProcessor method exit.

/**
 * Execute the Exit
 * @param map The current addressing context.
 *
 * @throws SoapFault11 for errors during processing
 */
public void exit(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
    try {
        final ExitParticipant participant = new ExitParticipant();
        final CoordinatorCompletionParticipantEngine engine = BAInteropUtil.registerCoordinatorCompletion(coordinationContext, participant, new Uid().toString());
        participant.setEngine(engine);
        participant.initialiseTimeout();
    } catch (final Throwable th) {
        throw new SoapFault11(th);
    }
}
Also used : Uid(com.arjuna.ats.arjuna.common.Uid) CoordinatorCompletionParticipantEngine(com.arjuna.wst11.messaging.engines.CoordinatorCompletionParticipantEngine) SoapFault11(com.arjuna.webservices11.SoapFault11) ExitParticipant(com.jboss.transaction.txinterop.webservices.bainterop.participant.ExitParticipant)

Aggregations

Uid (com.arjuna.ats.arjuna.common.Uid)1 SoapFault11 (com.arjuna.webservices11.SoapFault11)1 CoordinatorCompletionParticipantEngine (com.arjuna.wst11.messaging.engines.CoordinatorCompletionParticipantEngine)1 ExitParticipant (com.jboss.transaction.txinterop.webservices.bainterop.participant.ExitParticipant)1