thread.start();
Thread.sleep(500);
setClient(new TaskClient(new HornetQTaskClientConnector("client 1",
new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener()))));
getClient().connect("127.0.0.1", 5446);
WSHumanTaskHandler handler = new WSHumanTaskHandler();
handler.setClient(getClient());
setHandler(handler);
}