if (ServerManagement.isRemote()) return;
   public void testRemoveAllMessageData() throws Exception   {      JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager());      tl.start();      MessageStore ms = new PersistentMessageStore("persistentMessageStore0", tl);      Channel channel = new SimpleChannel("channel0", ms);            Message[] messages = createMessages();                 for (int i = 0; i < messages.length; i++)      {         Message m = messages[i];                  MessageReference ref = ms.reference(m);                                    tl.addReference(channel.getChannelID(), ref, null);      }               List refs = tl.messageRefs(ms.getStoreID(), channel.getChannelID());      assertNotNull(refs);      assertEquals(messages.length, refs.size());            for (int i = 0; i < messages.length; i++)      {         Message m = messages[i];                  assertTrue(refs.contains(m.getMessageID()));               }            tl.removeAllMessageData(channel.getChannelID());                  refs = tl.messageRefs(ms.getStoreID(), channel.getChannelID());      assertNotNull(refs);      assertTrue(refs.isEmpty());          }