this.taskExecutor = taskExecutor;
}
public void executeJobs(List<String> jobIds, ProcessEngineImpl processEngine) {
try {
taskExecutor.execute(new ExecuteJobsRunnable(jobIds, processEngine));
} catch (RejectedExecutionException e) {
rejectedJobsHandler.jobsRejected(jobIds, processEngine);
}
}