You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2017/12/14 13:20:49 UTC
activemq git commit: fix regression - ensure connector created for
remote jmx assertion
Repository: activemq
Updated Branches:
refs/heads/master 36a287130 -> dd6dcc188
fix regression - ensure connector created for remote jmx assertion
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/dd6dcc18
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/dd6dcc18
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/dd6dcc18
Branch: refs/heads/master
Commit: dd6dcc188c80888e2fac37646189ae3b407c1043
Parents: 36a2871
Author: gtully <ga...@gmail.com>
Authored: Thu Dec 14 13:20:36 2017 +0000
Committer: gtully <ga...@gmail.com>
Committed: Thu Dec 14 13:20:36 2017 +0000
----------------------------------------------------------------------
.../src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/dd6dcc18/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
----------------------------------------------------------------------
diff --git a/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java b/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
index 64413bd..8b178bd 100644
--- a/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
+++ b/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
@@ -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();