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

This commit is contained in:
Shailendra Kumar Singh 2018-06-15 15:33:03 +05:30
parent d71e037729
commit 07a3248563
1 changed files with 6 additions and 6 deletions

View File

@ -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);
}