activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-405) JMX attributes should be documented
Date Fri, 15 Apr 2016 14:33:25 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243027#comment-15243027
] 

ASF GitHub Bot commented on ARTEMIS-405:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/464

    ARTEMIS-405 JMX attributes doc

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-405

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/464.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #464
    
----
commit fc3d4bd7bbfb0a73e99561001f3cc4bfab3eaa68
Author: jbertram <jbertram@apache.org>
Date:   2016-04-14T18:18:06Z

    ARTEMIS-405 JMX attributes doc

----


> JMX attributes should be documented
> -----------------------------------
>
>                 Key: ARTEMIS-405
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-405
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>            Assignee: Justin Bertram
>            Priority: Minor
>
> Using Jolokia, it is very easy to list all the attributes exposed by Artemis: 
> {code}
> $ jmx4perl http://localhost:8161/jolokia/ list 'org.apache.activemq.artemis:brokerName="0.0.0.0",module=JMS,name="DLQ",serviceType=Queue,type=Broker'

> org.apache.activemq.artemis:brokerName="0.0.0.0",module=JMS,name="DLQ",serviceType=Queue,type=Broker:

> =====================================================================================================

> Attributes: 
>     Name                                java.lang.String [ro], "Attribute exposed for
management" 
>     ExpiryAddress                       java.lang.String [ro], "Attribute exposed for
management" 
>     RegistryBindings                    [Ljava.lang.String; [ro], "Attribute exposed
for management" 
>     DeliveringCount                     int [ro], "Attribute exposed for management"

>     Address                             java.lang.String [ro], "Attribute exposed for
management" 
>     Selector                            java.lang.String [ro], "Attribute exposed for
management" 
>     ScheduledCount                      long [ro], "Attribute exposed for management"

>     MessageCount                        long [ro], "Attribute exposed for management"

>     Paused                              boolean [ro], "Attribute exposed for management"

>     DeadLetterAddress                   java.lang.String [ro], "Attribute exposed for
management" 
>     FirstMessageTimestamp               java.lang.Long [ro], "Attribute exposed for management"

>     ConsumerCount                       int [ro], "Attribute exposed for management"

>     MessagesAdded                       long [ro], "Attribute exposed for management"

>     FirstMessageAge                     java.lang.Long [ro], "Attribute exposed for management"

>     Temporary                           boolean [ro], "Attribute exposed for management"

>     FirstMessageAsJSON                  java.lang.String [ro], "Attribute exposed for
management" 
> Operations: 
>     int retryMessages()                 "Retry all messages on a DLQ to their respective
original queues" 
>     java.lang.String listMessageCounterHistory() "List the message counters history"

>     java.lang.String listMessageCounterHistoryAsHTML() "List the message counters history
as HTML" 
>     java.util.Map listDeliveringMessages() "List all messages being delivered per consumer"

> [...] 
> {code}
> As you see, the operations are documented but not the attributes. They should be.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message