mirror of https://github.com/apache/activemq.git
disable schedualler by default: resolve: https://issues.apache.org/activemq/browse/AMQ-2967, https://issues.apache.org/activemq/browse/AMQ-2959
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005858 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd68c61e65
commit
92b3ae2cd0
|
@ -192,7 +192,7 @@ public class BrokerService implements Service {
|
||||||
private SslContext sslContext;
|
private SslContext sslContext;
|
||||||
private boolean forceStart = false;
|
private boolean forceStart = false;
|
||||||
private IOExceptionHandler ioExceptionHandler;
|
private IOExceptionHandler ioExceptionHandler;
|
||||||
private boolean schedulerSupport = true;
|
private boolean schedulerSupport = false;
|
||||||
private File schedulerDirectoryFile;
|
private File schedulerDirectoryFile;
|
||||||
private Scheduler scheduler;
|
private Scheduler scheduler;
|
||||||
private ThreadPoolExecutor executor;
|
private ThreadPoolExecutor executor;
|
||||||
|
|
|
@ -235,6 +235,7 @@ public class JmsSchedulerTest extends EmbeddedBrokerTestSupport {
|
||||||
answer.setDeleteAllMessagesOnStartup(true);
|
answer.setDeleteAllMessagesOnStartup(true);
|
||||||
answer.setDataDirectory("target");
|
answer.setDataDirectory("target");
|
||||||
answer.setSchedulerDirectoryFile(schedulerDirectory);
|
answer.setSchedulerDirectoryFile(schedulerDirectory);
|
||||||
|
answer.setSchedulerSupport(true);
|
||||||
answer.setUseJmx(false);
|
answer.setUseJmx(false);
|
||||||
answer.addConnector(bindAddress);
|
answer.addConnector(bindAddress);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
|
@ -415,6 +415,7 @@ public class JobSchedulerManagementTest extends EmbeddedBrokerTestSupport {
|
||||||
answer.setDeleteAllMessagesOnStartup(true);
|
answer.setDeleteAllMessagesOnStartup(true);
|
||||||
answer.setDataDirectory("target");
|
answer.setDataDirectory("target");
|
||||||
answer.setSchedulerDirectoryFile(schedulerDirectory);
|
answer.setSchedulerDirectoryFile(schedulerDirectory);
|
||||||
|
answer.setSchedulerSupport(true);
|
||||||
answer.setUseJmx(false);
|
answer.setUseJmx(false);
|
||||||
answer.addConnector(bindAddress);
|
answer.addConnector(bindAddress);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
Loading…
Reference in New Issue