use of com.axway.ats.agent.core.threading.QueueLoader in project ats-framework by Axway.
the class MultiThreadedActionHandler method startQueue.
/**
* @param queueName queue name
* @throws NoSuchLoadQueueException
* @throws ActionExecutionException
* @throws ActionTaskLoaderException
*/
public void startQueue(String queueName) throws NoSuchLoadQueueException, ActionExecutionException, ActionTaskLoaderException {
//first cleanup the queues
cleanupFinishedQueues();
QueueLoader queueLoader = queueLoadersMap.get(queueName);
if (queueLoader == null) {
throw new NoSuchLoadQueueException(queueName);
}
log.info("Starting queue '" + queueName + "'");
//start the queue
queueLoader.start();
}
Aggregations