activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/2] activemq-artemis git commit: Fix ActiveMQServerControlUsingCoreTest
Date Fri, 09 Dec 2016 00:08:12 GMT
Fix ActiveMQServerControlUsingCoreTest


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

Branch: refs/heads/ARTEMIS-780
Commit: 5454ef6c42019a4673b1025817f401bf13207480
Parents: 78a8e66
Author: jbertram <jbertram@apache.com>
Authored: Thu Dec 8 18:07:34 2016 -0600
Committer: jbertram <jbertram@apache.com>
Committed: Thu Dec 8 18:07:34 2016 -0600

----------------------------------------------------------------------
 .../artemis/api/core/management/ActiveMQServerControl.java      | 2 +-
 .../management/ActiveMQServerControlUsingCoreTest.java          | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5454ef6c/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java
index bec85ce..38bf200 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java
@@ -436,7 +436,7 @@ public interface ActiveMQServerControl {
 
    @Operation(desc = "create an address", impact = MBeanOperationInfo.ACTION)
    void createAddress(@Parameter(name = "name", desc = "The name of the address") String
name,
-                      @Parameter(name = "routingTypes", desc = "Comma separated list of Routing
Typles (anycast/multicast)") String routingTypes) throws Exception;
+                      @Parameter(name = "routingTypes", desc = "Comma separated list of Routing
Types (anycast/multicast)") String routingTypes) throws Exception;
 
    @Operation(desc = "add the provided routing type to an address", impact = MBeanOperationInfo.ACTION)
    void addRoutingType(@Parameter(name = "name", desc = "The name of the address") String
name,

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5454ef6c/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
index 08e37d2..58bb3fd 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
@@ -591,9 +591,8 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
          }
 
          @Override
-         public void createAddress(@Parameter(name = "name", desc = "The name of the address")
String name,
-                                   @Parameter(name = "routingType", desc = "The delivery
modes enabled for this address'") String routingTypes) throws Exception {
-
+         public void createAddress(String name, String routingTypes) throws Exception {
+            proxy.invokeOperation("createAddress", name, routingTypes);
          }
 
          @Override


Mime
View raw message