try {
qc = qcf.createQueueConnection("system", "system");
qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
String qn = "queue-" + System.currentTimeMillis();
Queue queue = qs.createQueue(qn);
Queue q = (Queue)ctx.lookup(qn);
Assert.assertNotNull("queue-handle", q);
Assert.assertEquals("queue-handle-name", qn, q.getQueueName());