// Send reply back ...
PublishKey pk = new PublishKey(receiver.getGlobal(), tempTopicOid, "text/plain", "1.0");
PublishQos pq = new PublishQos(receiver.getGlobal());
MsgUnit msgUnit = new MsgUnit(pk, "On doubt no ultimate truth, my dear.", pq);
//try { Thread.sleep(8000); } catch (InterruptedException e) { e.printStackTrace(); }
PublishReturnQos retQos = receiver.publish(msgUnit);
log.info(receiverName+": Published reply message using temporary topic " + retQos.getKeyOid());
}
catch (XmlBlasterException e) {
log.severe(receiverName+": Sending reply to " + updateQos.getSender() + " failed: " + e.getMessage());
}
return "";