pool.setBlockingMode(BlockingMode.RUN); timeoutThreadPool = pool;
pool.setBlockingMode(BlockingMode.RUN); onewayThreadPool = pool;
pool.setBlockingMode(BlockingMode.RUN); timeoutThreadPool = pool;
if (maxOnewayThreadPoolQueueSize > 0) pool.setMaximumQueueSize(maxOnewayThreadPoolQueueSize); pool.setBlockingMode(BlockingMode.RUN); onewayThreadPool = pool; log.debug(this + " created new thread pool");