GitHub user cshannon opened a pull request: https://github.com/apache/activemq/pull/92
Added a getMessageSize method to MessageStore Added a getMessageSize method to MessageStore to support retrieving the total message size of all stored messages for a destination. This is useful for metrics. This resolves https://issues.apache.org/jira/browse/AMQ-5748 You can merge this pull request into a Git repository by running: $ git pull https://github.com/cshannon/activemq AMQ-5748 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq/pull/92.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 #92 ---- commit 018930ab2a438b1e9d32c3dae9410c59962807e6 Author: Christopher L. Shannon (cshannon) <christopher.l.shan...@gmail.com> Date: 2015-04-27T18:24:16Z Added a getMessageSize method to MessageStore to support retrieving the total message size of all stored messages for a destination. This resolves https://issues.apache.org/jira/browse/AMQ-5748 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---