else
{
threadPool = Executors.newFixedThreadPool(configuration.getThreadPoolMaxSize(), tFactory);
}
executorFactory = new OrderedExecutorFactory(threadPool);
scheduledPool = new ScheduledThreadPoolExecutor(configuration.getScheduledThreadPoolMaxSize(),
new HornetQThreadFactory("HornetQ-scheduled-threads",
false,
getThisClassLoader()));