mirror of https://github.com/apache/activemq.git
The tests no longer need to worry about configuring the scheduler store as the broker will use an in-memory or kahadb based version depending on the broker persistence value.
This commit is contained in:
parent
3454a8b596
commit
551f4fc4e0
|
@ -43,7 +43,6 @@ import org.apache.activemq.security.AuthorizationPlugin;
|
|||
import org.apache.activemq.security.DefaultAuthorizationMap;
|
||||
import org.apache.activemq.security.SimpleAuthenticationPlugin;
|
||||
import org.apache.activemq.security.TempDestinationAuthorizationEntry;
|
||||
import org.apache.activemq.store.kahadb.scheduler.JobSchedulerStoreImpl;
|
||||
import org.apache.activemq.transport.stomp.util.ResourceLoadingSslContext;
|
||||
import org.apache.activemq.transport.stomp.util.XStreamBrokerContext;
|
||||
import org.junit.After;
|
||||
|
@ -175,11 +174,6 @@ public class StompTestSupport {
|
|||
brokerService.setSchedulerSupport(true);
|
||||
brokerService.getManagementContext().setCreateConnector(false);
|
||||
brokerService.getManagementContext().setCreateMBeanServer(false);
|
||||
|
||||
JobSchedulerStoreImpl jobStore = new JobSchedulerStoreImpl();
|
||||
jobStore.setDirectory(new File("activemq-data"));
|
||||
|
||||
brokerService.setJobSchedulerStore(jobStore);
|
||||
}
|
||||
|
||||
protected void addAdditionalPlugins(List<BrokerPlugin> plugins) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue