log.trace("Correlation id bytes:" + m6.getJMSCorrelationIDAsBytes());
   public void testJMSDestination() throws Exception   {      Message m1 = queueProducerSession.createMessage();            //Test with correlation id containing a message id      final String messageID = "ID:812739812378";       m1.setJMSCorrelationID(messageID);            queueProducer.send(m1);      Message m2 = queueConsumer.receive();      assertEquals(messageID, m2.getJMSCorrelationID());            try      {         m2.getJMSCorrelationIDAsBytes();         fail();      }      catch(JMSException e) {}            //Test with correlation id containing an application defined string      Message m3 = queueProducerSession.createMessage();      final String appDefinedID = "oiwedjiwjdoiwejdoiwjd";       m3.setJMSCorrelationID(appDefinedID);            queueProducer.send(m3);      Message m4 = queueConsumer.receive();      assertEquals(appDefinedID, m4.getJMSCorrelationID());            try      {         m4.getJMSCorrelationIDAsBytes();         fail();      }      catch(JMSException e) {}                  // Test with correlation id containing a byte[]      Message m5 = queueProducerSession.createMessage();      final byte[] bytes = new byte[] { -111, 45, 106, 3, -44 };      m5.setJMSCorrelationIDAsBytes(bytes);            queueProducer.send(m5);      Message m6 = queueConsumer.receive();      assertByteArraysEqual(bytes, m6.getJMSCorrelationIDAsBytes());            try      {         m6.getJMSCorrelationID();         fail();      }      catch(JMSException e) {}               }