activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: [ARTEMIS-1936]getQueueNames(String routingType) method should be mark as Operation instead of Attribute
Date Tue, 19 Jun 2018 15:09:43 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/2.6.x 56f5c797f -> 477a6400c


[ARTEMIS-1936]getQueueNames(String routingType) method should be mark as Operation instead
of Attribute

(cherry picked from commit 07a3248563e504d4184f652dcc73bc75134037e1)


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

Branch: refs/heads/2.6.x
Commit: 477a6400c9454ecd3ad25daf89e103a91f3cfbb1
Parents: 56f5c79
Author: Shailendra Kumar Singh <shailendra14k@gmail.com>
Authored: Fri Jun 15 15:33:03 2018 +0530
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Tue Jun 19 11:09:05 2018 -0400

----------------------------------------------------------------------
 .../api/core/management/ActiveMQServerControl.java      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/477a6400/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 756a9b7..83f66b7 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
@@ -396,12 +396,6 @@ public interface ActiveMQServerControl {
    String[] getQueueNames();
 
    /**
-    * Returns the names of the queues created on this server with the given routing-type.
-    */
-   @Attribute(desc = "Names of the queues created on this server with the given routing-type
(i.e. ANYCAST or MULTICAST)")
-   String[] getQueueNames(String routingType);
-
-   /**
     * Returns the uptime of this server.
     */
    @Attribute(desc = "Uptime of this server")
@@ -1246,5 +1240,11 @@ public interface ActiveMQServerControl {
    String listQueues(@Parameter(name = "options", desc = "Options") String options,
                      @Parameter(name = "pageNumber", desc = "Page Number") int page,
                      @Parameter(name = "pageSize", desc = "Page Size") int pageSize) throws
Exception;
+
+   /**
+    * Returns the names of the queues created on this server with the given routing-type.
+    */
+   @Operation(desc = "Names of the queues created on this server with the given routing-type
(i.e. ANYCAST or MULTICAST)", impact = MBeanOperationInfo.INFO)
+   String[] getQueueNames(@Parameter(name = "routingType", desc = "The routing type, MULTICAST
or ANYCAST") String routingType);
 }
 


Mime
View raw message