/** * Send the exit message. * */ private void sendExit() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendExit(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Exit", th) ; } } }
/** * Send the closed message. * */ private void sendClosed() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendClosed(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", th) ; } } }
/** * Send the cancelled message. * */ private void sendCancelled() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCancelled(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", th) ; } } }
/** * Send the exit message. * */ private void sendExit() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendExit(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Exit", th) ; } } }
/** * Send the compensated message. * */ private void sendCompensated() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCompensated(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Compensated", th) ; } } }
/** * Send the exit message. * */ private void sendExit() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendExit(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Exit", th) ; } } }
/** * Send the cannot complete message. * */ private void sendCannotComplete() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCannotComplete(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending CannotComplete", th) ; } } }
/** * Send the cancelled message. * */ private void sendCancelled() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCancelled(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", 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 the cancelled message. * */ private void sendCancelled() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCancelled(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", th) ; } } }
/** * Send the compensated message. * */ private void sendCompensated() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCompensated(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Compensated", th) ; } } }
/** * Send the cannot complete message. * */ private void sendCannotComplete() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCannotComplete(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending CannotComplete", th) ; } } }
/** * Send the compensated message. * */ private void sendCompensated() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCompensated(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Compensated", th) ; } } }
/** * Send the closed message. * */ private void sendClosed() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendClosed(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", th) ; } } }
/** * Send the closed message. * */ private void sendClosed() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendClosed(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", th) ; } } }
/** * Send the cannot complete message. * */ private void sendCannotComplete() { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendCannotComplete(coordinator, map, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending CannotComplete", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send a cancelled message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendCancelled(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseMAP = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply null endpoint to indicate addressing properties should be used to route message CoordinatorCompletionCoordinatorClient.getClient().sendCancelled(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", th) ; } } }