/** * Send the fail message. * @param message The fail message. * */ private void sendFail(final QName message) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendFail(coordinator, map, instanceIdentifier, message) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } }
/** * Send the fail message. * @param message The fail message. * */ private void sendFail(final QName message) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendFail(coordinator, map, instanceIdentifier, message) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } }
/** * Send the fail message. * @param message The fail message. * */ private void sendFail(final QName message) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendFail(coordinator, map, instanceIdentifier, message) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } }
/** * Send a fail message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * @param exceptionIdentifier The exception identifier. * */ private void sendFail(final MAP map, final ArjunaContext arjunaContext, final QName exceptionIdentifier) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseMAP = AddressingHelper.createFaultContext(map, messageId) ; try { // supply null endpoint to indicate addressing properties should be used to route message CoordinatorCompletionCoordinatorClient.getClient().sendFail(null, responseMAP, arjunaContext.getInstanceIdentifier(), exceptionIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } } }
/** * Send a fail message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * @param exceptionIdentifier The exception identifier. * */ private void sendFail(final MAP map, final ArjunaContext arjunaContext, final QName exceptionIdentifier) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseMAP = AddressingHelper.createFaultContext(map, messageId) ; try { // supply null endpoint to indicate addressing properties should be used to route message CoordinatorCompletionCoordinatorClient.getClient().sendFail(null, responseMAP, arjunaContext.getInstanceIdentifier(), exceptionIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } } }
/** * Send a fail message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * @param exceptionIdentifier The exception identifier. * */ private void sendFail(final MAP map, final ArjunaContext arjunaContext, final QName exceptionIdentifier) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseMAP = AddressingHelper.createFaultContext(map, messageId) ; try { // supply null endpoint to indicate addressing properties should be used to route message CoordinatorCompletionCoordinatorClient.getClient().sendFail(null, responseMAP, arjunaContext.getInstanceIdentifier(), exceptionIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Fail", th) ; } } } }