[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jboss-jms/src/main/org/jboss/jms/server/plugin/contract  ...
From:       Ovidiu Feodorov <ovidiu.feodorov () jboss ! com>
Date:       2006-01-31 23:37:16
Message-ID: E1F453k-00021b-Ab () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]

  User: ovidiu  
  Date: 06/01/31 18:37:16

  Modified:    src/main/org/jboss/jms/server/plugin/contract 
                        DurableSubscriptionStore.java
  Log:
  - Clarified the distinction between destination undeployment/re-deployment and \
destination drop.  Added a test case that checks whether the current convention is \
enforced.  Currently, is not possible to drop destinations, they will be always \
"re-deployed" or "activated".  See http://jira.jboss.org/jira/browse/JBMESSAGING-220
  - Move various tests under the correct packages.
  
  Revision  Changes    Path
  1.4       +11 -6     \
jboss-jms/src/main/org/jboss/jms/server/plugin/contract/DurableSubscriptionStore.java \
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DurableSubscriptionStore.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-jms/src/main/org/jboss/jms/server/plugin/contract/DurableSubscriptionStore.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- DurableSubscriptionStore.java	30 Jan 2006 18:36:27 -0000	1.3
  +++ DurableSubscriptionStore.java	31 Jan 2006 23:37:16 -0000	1.4
  @@ -6,7 +6,7 @@
    */
   package org.jboss.jms.server.plugin.contract;
   
  -import org.jboss.messaging.core.local.DurableSubscription;
  +import org.jboss.messaging.core.local.CoreDurableSubscription;
   import org.jboss.messaging.core.plugin.contract.ServerPlugin;
   import org.jboss.messaging.core.plugin.contract.TransactionLog;
   import org.jboss.messaging.core.plugin.contract.MessageStore;
  @@ -20,13 +20,13 @@
    *
    * @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
    * @author <a href="mailto:ovidiu@jboss.org">Ovidiu Feodorov</a>
  - * @version <tt>$Revision: 1.3 $</tt>
  + * @version <tt>$Revision: 1.4 $</tt>
    *
  - * $Id: DurableSubscriptionStore.java,v 1.3 2006/01/30 18:36:27 ovidiu Exp $
  + * $Id: DurableSubscriptionStore.java,v 1.4 2006/01/31 23:37:16 ovidiu Exp $
    */
   public interface DurableSubscriptionStore extends ServerPlugin
   {
  -   DurableSubscription createDurableSubscription(String topicName,
  +   CoreDurableSubscription createDurableSubscription(String topicName,
                                                    String clientID,
                                                    String subscriptionName,
                                                    String selector,
  @@ -35,7 +35,7 @@
                                                    MessageStore ms,
                                                    TransactionLog tl) throws \
JMSException;  
  -   DurableSubscription getDurableSubscription(String clientID,
  +   CoreDurableSubscription getDurableSubscription(String clientID,
                                                 String subscriptionName,
                                                 DestinationManager dm,
                                                 MessageStore ms,
  @@ -43,11 +43,16 @@
   
      boolean removeDurableSubscription(String clientID, String subscriptionName) \
throws JMSException;  
  +//   /**
  +//    * Clears the state maintained on behalf of a topic by removing all \
associated durable  +//    * subscriptions. Only to be used when dropping a topic.
  +//    */
  +//   void clearSubscriptionsForTopic(String topicName) throws JMSException;
  +
      String getPreConfiguredClientID(String username) throws JMSException;
   
      Set loadDurableSubscriptionsForTopic(String topicName, 
                                           DestinationManager dm,
                                           MessageStore ms,
                                           TransactionLog tl) throws JMSException;
  -
   }
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic