ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getMessagesFromDurableSub(name, clientID, trimSelector(selector));
org.jboss.messaging.core.local.Topic t = (org.jboss.messaging.core.local.Topic)cm.getCoreDestination(jbt); return getMessagesFromDurableSub(t, name, clientID, trimSelector(selector));
   public List listMessagesDurableSub(String name, String clientID, String selector)      throws JMSException   {      if (!started)      {         log.warn("Topic is stopped.");         return new ArrayList();      }      JBossTopic jbt = new JBossTopic(this.name);      ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt);      return t.getMessagesFromDurableSub(name, clientID, trimSelector(selector));   }