private TaskServer server;
@Override
protected void setUp() throws Exception {
super.setUp();
server = new HornetQTaskServer(taskService, 5446);
Thread thread = new Thread(server);
thread.start();
Thread.sleep(500);
setClient(new TaskClient(new HornetQTaskClientConnector("client 1",
new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener()))));