/* Create a session for the receiver */
s_rec = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
new ReplyThread(s_rec, q);
QueueRequestor requestor = new QueueRequestor(s_send, q);
Message msg = s_send.createObjectMessage("hello");
Message rec = requestor.request(msg);
Assert.assertEquals("requested message", "hello", ((ObjectMessage)rec).getObject());
requestor.close();