Search in sources :

Example 1 with CannotCompleteParticipant

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

the class BAParticipantProcessor method cannotComplete.

/**
 * Execute the CannotComplete
 * @param map The current addressing context.
 *
 * @throws SoapFault11 for errors during processing
 */
public void cannotComplete(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
    try {
        final CannotCompleteParticipant participant = new CannotCompleteParticipant();
        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) CannotCompleteParticipant(com.jboss.transaction.txinterop.webservices.bainterop.participant.CannotCompleteParticipant) CoordinatorCompletionParticipantEngine(com.arjuna.wst11.messaging.engines.CoordinatorCompletionParticipantEngine) SoapFault11(com.arjuna.webservices11.SoapFault11)

Aggregations

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