/** * Send a failed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendFailed(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 so that addressing properties are used to deliver message ParticipantCompletionParticipantClient.getClient().sendFailed(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Failed", th) ; } } }
/** * Send a faulted message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendFailed(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply null endpoint so that addressing properties are used to deliver message CoordinatorCompletionParticipantClient.getClient().sendFailed(null, responseAddressingContext, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Faulted", th) ; } } }
/** * Send a not completed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendNotCompleted(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply null endpoint so that addressing properties are used to deliver message CoordinatorCompletionParticipantClient.getClient().sendNotCompleted(null, responseAddressingContext, arjunaContext.getInstanceIdentifier()); ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending NotCompleted", th) ; } } }
/** * Send a faulted message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendFailed(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply null endpoint so that addressing properties are used to deliver message CoordinatorCompletionParticipantClient.getClient().sendFailed(null, responseAddressingContext, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Faulted", 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) ; } } }
/** * Send a not completed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendNotCompleted(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 so that addressing properties are used to deliver message ParticipantCompletionParticipantClient.getClient().sendNotCompleted(null, responseMAP, arjunaContext.getInstanceIdentifier()); ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending NotCompleted", 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 that addressing properties should be used to route message ParticipantCompletionCoordinatorClient.getClient().sendCancelled(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", 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 that addressing properties should be used to route message ParticipantCompletionCoordinatorClient.getClient().sendCancelled(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", th) ; } } }
/** * Send a closed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendClosed(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 that addressing properties should be used to route message ParticipantCompletionCoordinatorClient.getClient().sendClosed(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", 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) ; } } }
/** * Send a closed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendClosed(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().sendClosed(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", 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 that addressing properties should be used to route message ParticipantCompletionCoordinatorClient.getClient().sendCancelled(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Cancelled", th) ; } } }
/** * Send a rollback message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendRollback(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ; try { ParticipantClient.getClient().sendRollback(null, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Rollback", th) ; } } }
/** * Send a failed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendFailed(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 so that addressing properties are used to deliver message ParticipantCompletionParticipantClient.getClient().sendFailed(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Failed", th) ; } } }
/** * Send an exited message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendExited(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply a null endpoint indicating that the port should be configured from the addressing properties! CoordinatorCompletionParticipantClient.getClient().sendExited(null, responseAddressingContext, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Exited", th) ; } } }
/** * Send a closed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendClosed(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 that addressing properties should be used to route message ParticipantCompletionCoordinatorClient.getClient().sendClosed(null, responseMAP, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Closed", 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) ; } } }
/** * Send a not completed message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendNotCompleted(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 so that addressing properties are used to deliver message ParticipantCompletionParticipantClient.getClient().sendNotCompleted(null, responseMAP, arjunaContext.getInstanceIdentifier()); ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending NotCompleted", th) ; } } }
/** * Send a rollback message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendRollback(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ; try { ParticipantClient.getClient().sendRollback(null, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Rollback", th) ; } } }
/** * Send an exited message. * * @param map The addressing context. * @param arjunaContext The arjuna context. * */ private void sendExited(final MAP map, final ArjunaContext arjunaContext) { // KEV add check for recovery final String messageId = MessageId.getMessageId() ; final MAP responseAddressingContext = AddressingHelper.createOneWayResponseContext(map, messageId) ; try { // supply a null endpoint indicating that the port should be configured from the addressing properties! CoordinatorCompletionParticipantClient.getClient().sendExited(null, responseAddressingContext, arjunaContext.getInstanceIdentifier()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Exited", th) ; } } }