You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2018/06/19 15:17:00 UTC
[jira] [Closed] (ARTEMIS-1936) getQueueNames(String routingType)
method should be mark as Operation instead of Attribute
[ https://issues.apache.org/jira/browse/ARTEMIS-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic closed ARTEMIS-1936.
------------------------------------
Resolution: Fixed
> 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
> Priority: Critical
> Fix For: 2.7.0, 2.6.3
>
> Attachments: Console_JMX.png
>
>
> 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)