mirror of https://github.com/apache/activemq.git
fix regression - ensure connector created for remote jmx assertion
This commit is contained in:
parent
36a2871301
commit
dd6dcc188c
|
@ -58,6 +58,7 @@ public class RemoteJMXBrokerTest {
|
|||
public void startUp() throws Exception {
|
||||
brokerService = BrokerFactory.createBroker("broker:()/remoteBroker?useJmx=true");
|
||||
brokerService.getManagementContext().setConnectorPort(TestUtils.findOpenPort());
|
||||
brokerService.getManagementContext().setCreateConnector(true);
|
||||
brokerService.start();
|
||||
brokerService.waitUntilStarted();
|
||||
|
||||
|
|
Loading…
Reference in New Issue