You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2012/11/28 19:26:58 UTC

[jira] [Created] (AMQ-4195) activemq-admin bstat command predefined query isn't even run

Christian Posta created AMQ-4195:
------------------------------------

             Summary: activemq-admin bstat command predefined query isn't even run
                 Key: AMQ-4195
                 URL: https://issues.apache.org/jira/browse/AMQ-4195
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.7.0
            Reporter: Christian Posta
            Assignee: Christian Posta
            Priority: Minor
             Fix For: 5.8.0


The output for "bstat" and the "query command without any params" are exactly the same for activemq-admin. This is because the query intended to be run for bstat is never run. 

A closer look shows that the parameters passed to the runTask() method of QueryCommand are never used. The QueryCommand.queryAddObjects field is what's used to determine what objects to query and for the bstat command, those are never properly parsed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (AMQ-4195) activemq-admin bstat command predefined query isn't even run

Posted by "Christian Posta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Posta resolved AMQ-4195.
----------------------------------

    Resolution: Fixed
    
> activemq-admin bstat command predefined query isn't even run
> ------------------------------------------------------------
>
>                 Key: AMQ-4195
>                 URL: https://issues.apache.org/jira/browse/AMQ-4195
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.7.0
>            Reporter: Christian Posta
>            Assignee: Christian Posta
>            Priority: Minor
>             Fix For: 5.8.0
>
>
> The output for "bstat" and the "query command without any params" are exactly the same for activemq-admin. This is because the query intended to be run for bstat is never run. 
> A closer look shows that the parameters passed to the runTask() method of QueryCommand are never used. The QueryCommand.queryAddObjects field is what's used to determine what objects to query and for the bstat command, those are never properly parsed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-4195) activemq-admin bstat command predefined query isn't even run

Posted by "Christian Posta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505749#comment-13505749 ] 

Christian Posta commented on AMQ-4195:
--------------------------------------

Fixed with r1414852
                
> activemq-admin bstat command predefined query isn't even run
> ------------------------------------------------------------
>
>                 Key: AMQ-4195
>                 URL: https://issues.apache.org/jira/browse/AMQ-4195
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.7.0
>            Reporter: Christian Posta
>            Assignee: Christian Posta
>            Priority: Minor
>             Fix For: 5.8.0
>
>
> The output for "bstat" and the "query command without any params" are exactly the same for activemq-admin. This is because the query intended to be run for bstat is never run. 
> A closer look shows that the parameters passed to the runTask() method of QueryCommand are never used. The QueryCommand.queryAddObjects field is what's used to determine what objects to query and for the bstat command, those are never properly parsed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira