mirror of https://github.com/apache/activemq.git
Applied patch from https://issues.apache.org/activemq/browse/AMQ-1839
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@674607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0a4d3625d
commit
d74a8cf2e9
|
@ -51,5 +51,9 @@ public final class Scheduler {
|
|||
TimerTask timerTask = new SchedulerTimerTask(task);
|
||||
CLOCK_DAEMON.schedule(timerTask, redeliveryDelay);
|
||||
}
|
||||
|
||||
public static void shutdown() {
|
||||
CLOCK_DAEMON.cancel();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue