Repository: activemq-artemis Updated Branches: refs/heads/master d71e03772 -> f52fefb42
[ARTEMIS-1936]getQueueNames(String routingType) method should be mark as Operation instead of Attribute Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/07a32485 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/07a32485 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/07a32485 Branch: refs/heads/master Commit: 07a3248563e504d4184f652dcc73bc75134037e1 Parents: d71e037 Author: Shailendra Kumar Singh <[email protected]> Authored: Fri Jun 15 15:33:03 2018 +0530 Committer: Shailendra Kumar Singh <[email protected]> Committed: Fri Jun 15 15:33:03 2018 +0530 ---------------------------------------------------------------------- .../api/core/management/ActiveMQServerControl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/07a32485/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 473a9ed..9e8c9df 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") String options, @Parameter(name = "Page Number") int page, @Parameter(name = "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); }
