/*
* Create the ExecutorFactory for the unit test
* based on the default configuration used in ServiceMix 4
*/
protected ExecutorFactory createExecutorFactory() {
ExecutorFactoryImpl factory = new ExecutorFactoryImpl();
ExecutorConfig config = factory.getDefaultConfig();
config.setCorePoolSize(1);
config.setMaximumPoolSize(16);
config.setQueueSize(0);
config.setBypassIfSynchronous(true);