Description
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