public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException
   public CoreDurableSubscription createDurableSubscription(String topicName,                                                            String clientID,                                                            String subscriptionName,                                                             String selector,                                                             boolean noLocal,                                                                                                                        MessageStore ms,                                                            PersistenceManager pm) throws JMSException   {      try      {         //First insert a row in the db         long id = this.getNextId();                  insertMappingRow(id, TYPE_DURABLE_SUB, topicName, subscriptionName, clientID,                          selector, new Boolean(noLocal));                  return createDurableSubscriptionInternal(id, topicName, clientID, subscriptionName, selector,                                                  noLocal, ms, pm);      }      catch (Exception e)      {         e.printStackTrace();         throw new MessagingJMSException("Failed to create durable subscription", e);              }        }