if (!isQueue) { Topic topic = (Topic)dest;  Iterator iter = topic.iterator();  while (iter.hasNext()) { CoreSubscription sub = (CoreSubscription)iter.next();  if (sub.isRecoverable()) { DurableSubscription dursub = (DurableSubscription)sub;  String clientID = dursub.getClientID();  String name = dursub.getName();  removeDurableSubscriptionInMemory(clientID, name); } } }
   public CoreDestination undeployCoreDestination(boolean isQueue, String destName)   {      Map m = isQueue ? queues : topics;            CoreDestination dest = (CoreDestination)m.remove(destName);            if (dest != null)      {               idMap.remove(new Long(dest.getId()));      }            return dest;   }