*/
public class JCAContainerRequestReplyTest extends JCAContainerTestSupport {
public void testRequestReply() throws Exception {
Queue queue = session.createQueue(getClass().getName());
Requestor requestor = new Requestor((QueueSession) session, queue);
TextMessage message = session.createTextMessage("Hello! " + new Date());
System.out.println("About to send: " + message);
Message answer = requestor.request(message);
assertTrue("Should have received an answer", answer != null);
System.out.println("Received: " + answer);
}