// load the queue
Connection c = cf.createConnection();
Session s = c.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer prod = s.createProducer(queue);
Message m = s.createMessage();
prod.send(m);
c.close();
final Result result = new Result();
Connection conn = cf.createConnection();