public AbstractJobQueue(final String name,
final InternalQueueConfiguration config,
final QueueServices services,
final Set<String> topics) {
if ( config.getOwnThreadPoolSize() > 0 ) {
this.threadPool = new EventingThreadPool(services.threadPoolManager, config.getOwnThreadPoolSize());
} else {
this.threadPool = Environment.THREAD_POOL;
}
this.queueName = name;
this.configuration = config;