You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (JIRA)" <ji...@apache.org> on 2012/11/06 16:06:13 UTC

[jira] [Created] (AMQ-4161) List of Messages from StatsPlugin is not delimited

Rob Davies created AMQ-4161:
-------------------------------

             Summary: List of Messages from StatsPlugin is not delimited
                 Key: AMQ-4161
                 URL: https://issues.apache.org/jira/browse/AMQ-4161
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.7.0
            Reporter: Rob Davies
            Assignee: Rob Davies
             Fix For: 5.8.0


When using a wild card to get destination statistics, a message for each destination will be sent to the replyTo destination, however, there is no way to determine when the query has finished. By appending '.List.End.With.Null' to the destination, an empty map message will be sent to denote the end of the messages. E.G. - to query statistics on all Queues, you would send an empty message to the Queue ActiveMQ.Statistics.Destination.> - to get all the destinations. To ensure you got an empty message to denote the end of the list - you would send a queue message to ActiveMQ.Statistics.Destination.>.List.End.With.Null

--
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-4161) List of Messages from StatsPlugin is not delimited

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

Rob Davies resolved AMQ-4161.
-----------------------------

    Resolution: Fixed

Fixed by SVN 1406186
                
> List of Messages from StatsPlugin is not delimited
> --------------------------------------------------
>
>                 Key: AMQ-4161
>                 URL: https://issues.apache.org/jira/browse/AMQ-4161
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.7.0
>            Reporter: Rob Davies
>            Assignee: Rob Davies
>             Fix For: 5.8.0
>
>
> When using a wild card to get destination statistics, a message for each destination will be sent to the replyTo destination, however, there is no way to determine when the query has finished. By appending '.List.End.With.Null' to the destination, an empty map message will be sent to denote the end of the messages. E.G. - to query statistics on all Queues, you would send an empty message to the Queue ActiveMQ.Statistics.Destination.> - to get all the destinations. To ensure you got an empty message to denote the end of the list - you would send a queue message to ActiveMQ.Statistics.Destination.>.List.End.With.Null

--
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