mirror of https://github.com/apache/activemq.git
Allow a test to turn of JMX if desired.
This commit is contained in:
parent
6f1f06fb16
commit
3e599a595f
|
@ -104,7 +104,7 @@ public class AmqpTestSupport {
|
|||
}
|
||||
brokerService.setSchedulerSupport(false);
|
||||
brokerService.setAdvisorySupport(false);
|
||||
brokerService.setUseJmx(true);
|
||||
brokerService.setUseJmx(isUseJmx());
|
||||
brokerService.getManagementContext().setCreateConnector(false);
|
||||
|
||||
performAdditionalConfiguration(brokerService);
|
||||
|
@ -182,6 +182,10 @@ public class AmqpTestSupport {
|
|||
return false;
|
||||
}
|
||||
|
||||
protected boolean isUseJmx() {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected int getstoreOpenWireVersion() {
|
||||
return OpenWireFormat.DEFAULT_VERSION;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue