try {
session = sf.createSession("guest", "guest", false, true, true, false, 1);
session.createQueue(queueName, queueName, false);
ClientConsumer messageConsumer = session.createConsumer(queueName);
session.start();
session.stop();
messageConsumer.close();
session.deleteQueue(queueName);
success = true;
} finally {
if (session != null) {