activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r674607 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
Date Mon, 07 Jul 2008 19:33:36 GMT
Author: rajdavies
Date: Mon Jul  7 12:33:36 2008
New Revision: 674607

URL: http://svn.apache.org/viewvc?rev=674607&view=rev
Log:
Applied patch from https://issues.apache.org/activemq/browse/AMQ-1839

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java?rev=674607&r1=674606&r2=674607&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java Mon
Jul  7 12:33:36 2008
@@ -51,5 +51,9 @@
     	TimerTask timerTask = new SchedulerTimerTask(task);
         CLOCK_DAEMON.schedule(timerTask, redeliveryDelay);
     }
+    
+    public static void shutdown() {
+        CLOCK_DAEMON.cancel();
+    }
 
 }



Mime
View raw message