ref = store.getReference(m2.getJMSMessageID());
ref = store.reference(m2.getJMSMessageID());
   public void testTransactionCommit() throws Exception   {      if (ServerManagement.isRemote()) return;            MessageStore store = ServerManagement.getMessageStore();            Connection conn = cf.createConnection();            Session sess = conn.createSession(true, Session.SESSION_TRANSACTED);            MessageProducer prod = sess.createProducer(queue);            MessageConsumer cons = sess.createConsumer(queue);                              conn.start();            TextMessage m = sess.createTextMessage("wibble");            prod.send(m);      sess.commit();            TextMessage m2 = (TextMessage)cons.receive();            assertNotNull(m2);      assertEquals(m.getText(), m2.getText());            MessageReference ref = store.getReference(m2.getJMSMessageID());      assertEquals(m.getJMSMessageID(), ref.getMessageID());            sess.commit();            ref = store.getReference(m2.getJMSMessageID());      assertNull(ref);   }