activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r474466 - in /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx: QueueView.java QueueViewMBean.java
Date Mon, 13 Nov 2006 19:50:32 GMT
Author: rajdavies
Date: Mon Nov 13 11:50:31 2006
New Revision: 474466

URL: http://svn.apache.org/viewvc?view=rev&rev=474466
Log:
propagate exceptions up to the caller

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueView.java
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueViewMBean.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueView.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueView.java?view=diff&rev=474466&r1=474465&r2=474466
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueView.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueView.java
Mon Nov 13 11:50:31 2006
@@ -40,7 +40,7 @@
         return OpenTypeSupport.convert(rc);
     }
 
-    public void purge(){
+    public void purge() throws Exception{
         ((Queue) destination).purge();
     }
 

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueViewMBean.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueViewMBean.java?view=diff&rev=474466&r1=474465&r2=474466
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueViewMBean.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/QueueViewMBean.java
Mon Nov 13 11:50:31 2006
@@ -61,8 +61,9 @@
 
     /**
      * Removes all of the messages in the queue.
+     * @throws Exception 
      */
-    public void purge();
+    public void purge() throws Exception;
     
     /**
      * Copies a given message to another destination.



Mime
View raw message