@Override protected void setUp() throws Exception { super.setUp(); pollerExecutor = Executors.newCachedThreadPool( new HornetQThreadFactory( "HornetQ-AIO-poller-pool" + System.identityHashCode(this), false, this.getClass().getClassLoader())); executor = Executors.newSingleThreadExecutor(); }