[jboss-cvs] JBoss Messaging SVN: r3529 - branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 2 18:28:41 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-01-02 18:28:41 -0500 (Wed, 02 Jan 2008)
New Revision: 3529

Modified:
   branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ConsumerDelegate.java
   branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ProducerDelegate.java
   branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/SessionDelegate.java
Log:
http://jira.jboss.com/jira/browse/JBMESSAGING-681 - Fixing tests

Modified: branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ConsumerDelegate.java
===================================================================
--- branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ConsumerDelegate.java	2008-01-02 22:34:46 UTC (rev 3528)
+++ branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ConsumerDelegate.java	2008-01-02 23:28:41 UTC (rev 3529)
@@ -41,15 +41,15 @@
  */
 public interface ConsumerDelegate extends ConsumerEndpoint
 {
-   MessageListener getMessageListener();
+   MessageListener getMessageListener() throws JMSException;
 
    void setMessageListener(MessageListener listener) throws JMSException;
 
-   JBossDestination getDestination();
+   JBossDestination getDestination() throws JMSException;
 
-   boolean getNoLocal();
+   boolean getNoLocal() throws JMSException;
 
-   String getMessageSelector();
+   String getMessageSelector() throws JMSException;
 
    Message receive(long timeout) throws JMSException;
 }

Modified: branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ProducerDelegate.java
===================================================================
--- branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ProducerDelegate.java	2008-01-02 22:34:46 UTC (rev 3528)
+++ branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/ProducerDelegate.java	2008-01-02 23:28:41 UTC (rev 3529)
@@ -58,7 +58,7 @@
    
    JBossDestination getDestination() throws JMSException;
    
-   void setDestination(JBossDestination dest);
+   void setDestination(JBossDestination dest) throws JMSException;
 
    /**
     * This method is only handled by the advice stack, the corresponding invocation is never sent

Modified: branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/SessionDelegate.java
===================================================================
--- branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/SessionDelegate.java	2008-01-02 22:34:46 UTC (rev 3528)
+++ branches/BRANCH_JBMESSAGING-681/src/main/org/jboss/jms/delegate/SessionDelegate.java	2008-01-02 23:28:41 UTC (rev 3529)
@@ -74,15 +74,15 @@
 
    void run() throws JMSException;
 
-   XAResource getXAResource();
+   XAResource getXAResource() throws JMSException;
 
    void addAsfMessage(JBossMessage m, String consumerID, String queueName,
                       int maxDeliveries, SessionDelegate connectionConsumerDelegate,
                       boolean shouldAck) throws JMSException;
 
-   boolean getTransacted();
+   boolean getTransacted() throws JMSException;
 
-   int getAcknowledgeMode();
+   int getAcknowledgeMode() throws JMSException;
 
    void commit() throws JMSException;
 




More information about the jboss-cvs-commits mailing list