}
// Send a message to 'receiver' and block for the reply
PublishKey pk = new PublishKey(sender.getGlobal(), "requestForEnlightenment");
PublishQos pq = new PublishQos(sender.getGlobal());
pq.addDestination(new Destination(new SessionName(sender.getGlobal(), receiverName)));
MsgUnit msgUnit = new MsgUnit(pk, "Tell me the truth!", pq);
MsgUnit[] replies = sender.request(msgUnit, 3000, 1);
assertEquals("Missing reply message.", 1, replies.length);
assertEquals("On doubt no ultimate truth, my dear.", replies[0].getContentStr());
log.info(senderName+": Got " + replies.length + " reply :\n" + replies[0].toXml());