drainDestination(cf, queue);
   public void testForeignByteMessage() throws Exception   {      ConnectionFactory cf = (JBossConnectionFactory)ic.lookup("/ConnectionFactory");      Connection c =  cf.createConnection();      Session s = c.createSession(false, Session.AUTO_ACKNOWLEDGE);      Queue queue = (Queue)ic.lookup("/queue/Queue");      MessageProducer p = s.createProducer(queue);      // create a Bytes foreign message      SimpleJMSBytesMessage bfm = new SimpleJMSBytesMessage();      p.send(bfm);      MessageConsumer cons = s.createConsumer(queue);      c.start();      BytesMessage bm = (BytesMessage)cons.receive();      assertNotNull(bm);      c.close();   }