long start = System.currentTimeMillis();
service.sendText(null, false, destName, msg, map);
String msg2 = service.receiveText(null, destName, false, 30000, map);
long end = System.currentTimeMillis();
if (msg2 != null) {
respMsg = "Broker is alive, round trip = " + (end - start) + " milli secs.";