deployCoreDestination(isQueue, destName, ms, pm, 100, 20, 10);
try { if (log.isTraceEnabled()) { log.trace("creating core destination for " + destName); }  CoreDestination cd = getCoreDestinationInternal(isQueue, destName); if (cd != null) { throw new JMSException("Destination " + destName + " already deployed"); }   long id; Long l = getIdForDestination(isQueue, destName); if (l == null) {  id = insertMappingRow(isQueue ? TYPE_QUEUE : TYPE_TOPIC, destName, null, null, null, null); } else { id = l.longValue(); }   if (isQueue) { cd = new Queue(id, ms, pm, true, fullSize, pageSize, downCacheSize);  try {  ((Queue)cd).load(); } catch (Exception e) { log.error("Failed to load queue state", e); JMSException e2 = new JMSException("Failed to load queue state"); e2.setLinkedException(e); throw e2; }  queues.put(destName, cd); } else {  cd = new Topic(id, fullSize, pageSize, downCacheSize);  topics.put(destName, cd);      List durableSubs = loadDurableSubscriptionsForTopic(destName, ms, pm);  Iterator iter = durableSubs.iterator(); while (iter.hasNext()) { CoreDurableSubscription sub = (CoreDurableSubscription)iter.next();  try { sub.load(); } catch (Exception e) { log.error("Failed to load queue state", e); JMSException e2 = new JMSException("Failed to load durable subscription state"); e2.setLinkedException(e); throw e2; }  sub.subscribe(); } }    JBossDestination jbd ;  if (isQueue) { jbd = new JBossQueue(destName); } else { jbd =  new JBossTopic(destName); }  idMap.put(new Long(id), jbd);  log.debug("core destination " + cd + " (fullSize=" + fullSize + ", pageSize=" + pageSize  + ", downCacheSize=" + downCacheSize + ") deployed"); } catch (Exception e) { e.printStackTrace(); throw new JBossJMSException("Failed to deploy core destination", e); }
   public void deployCoreDestination(boolean isQueue, String destName,                                     MessageStore ms, PersistenceManager pm) throws JMSException   {      deployCoreDestination(isQueue, destName, ms, pm, 100, 20, 10);   }