From 07a3248563e504d4184f652dcc73bc75134037e1 Mon Sep 17 00:00:00 2001 From: Shailendra Kumar Singh Date: Fri, 15 Jun 2018 15:33:03 +0530 Subject: [PATCH] [ARTEMIS-1936]getQueueNames(String routingType) method should be mark as Operation instead of Attribute --- .../api/core/management/ActiveMQServerControl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 473a9edecc..9e8c9dfee6 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 @@ -395,12 +395,6 @@ public interface ActiveMQServerControl { @Attribute(desc = "Names of the queues created on this server") 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. */ @@ -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); }