activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject activemq git commit: Allow a test to turn of JMX if desired.
Date Fri, 15 May 2015 15:03:50 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 6f1f06fb1 -> 3e599a595


Allow a test to turn of JMX if desired. 

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/3e599a59
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/3e599a59
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/3e599a59

Branch: refs/heads/master
Commit: 3e599a595f34c05bee1d0c67b580a5cfbd9abd4d
Parents: 6f1f06f
Author: Timothy Bish <tabish121@gmail.com>
Authored: Fri May 15 11:03:35 2015 -0400
Committer: Timothy Bish <tabish121@gmail.com>
Committed: Fri May 15 11:03:35 2015 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/transport/amqp/AmqpTestSupport.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/3e599a59/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
index 4d042b1..b841ecf 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpTestSupport.java
@@ -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;
     }


Mime
View raw message