mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3024 - guard against null from stomp tests, npe regression
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518123 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8ea6cd95c
commit
8635a06e4a
|
@ -289,7 +289,7 @@ public class SchedulerBroker extends BrokerFilter implements JobListener {
|
|||
|
||||
protected synchronized JobScheduler getInternalScheduler() throws Exception {
|
||||
if (this.started.get()) {
|
||||
if (this.scheduler == null) {
|
||||
if (this.scheduler == null && store != null) {
|
||||
this.scheduler = store.getJobScheduler("JMS");
|
||||
this.scheduler.addListener(this);
|
||||
this.scheduler.startDispatching();
|
||||
|
|
Loading…
Reference in New Issue