cb = new ACStompCallback();
//Window.alert("hostnamevalue "+value);
//sc = new StompClient("ws://"+value+":61614/stomp", cb);
sc = new StompClient("ws://"+broker_ip+":61614/stomp", cb);
cb.setClient(sc);
sc.connect();
return true;
} catch (Throwable t) {