You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Shailendra Kumar singh (JIRA)" <ji...@apache.org> on 2018/06/15 09:31:00 UTC

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

Shailendra Kumar singh created ARTEMIS-1936:
-----------------------------------------------

             Summary: getQueueNames(String routingType) method should be mark as Operation instead of Attribute 
                 Key: ARTEMIS-1936
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1936
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Web Console
    Affects Versions: 2.6.1
            Reporter: Shailendra Kumar singh


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

 [1] [https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java#L401-L402]

 

WebConsle JMX display the getQueueNames(String routingType) under the Opertaion which is expected as MBean attributes names cannot be overloaded.

When you click JMX operation *getQueueNames* using webconsle it throws below exception
{code:java}
Error: Syntax Error: Token '1' is an unexpected token at column 10 of the expression [entity.p 1] starting at [1].
Stack trace:

Error: Syntax Error: Token '1' is an unexpected token at column 10 of the expression [entity.p 1] starting at [1].
{code}
Attached screen-shot

 

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)