this.cacheProvider = cacheProvider;
executor = Context.taskWrapping(Executors.newFixedThreadPool(
parameters.getIntermediaryParameters().getThreadPoolSize()));
+ LOGGER.info("ThreadHandler started with thread pool size {}",
+ parameters.getIntermediaryParameters().getThreadPoolSize());
}
/**
var process = executionMap.get(execIdentificationId);
if (process != null) {
if (!process.isDone()) {
+ LOGGER.warn("ThreadHandler cancelling previous thread for execIdentificationId={} messageId={}",
+ execIdentificationId, messageId);
process.cancel(true);
}
executionMap.remove(execIdentificationId);