use of org.camunda.bpm.engine.impl.jobexecutor.MessageAddedNotification in project camunda-bpm-platform by camunda.
the class JobRetryCmd method notifyAcquisition.
protected void notifyAcquisition(CommandContext commandContext) {
JobExecutor jobExecutor = Context.getProcessEngineConfiguration().getJobExecutor();
MessageAddedNotification messageAddedNotification = new MessageAddedNotification(jobExecutor);
TransactionContext transactionContext = commandContext.getTransactionContext();
transactionContext.addTransactionListener(TransactionState.COMMITTED, messageAddedNotification);
}
Aggregations