[jira] [Created] (ACTIVEMQ6-79) JMX: getFirstMessageAsJSON not suitable for large messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (ACTIVEMQ6-79) JMX: getFirstMessageAsJSON not suitable for large messages

JIRA jira@apache.org
Daniel Pocock created ACTIVEMQ6-79:
--------------------------------------

             Summary: JMX: getFirstMessageAsJSON not suitable for large messages
                 Key: ACTIVEMQ6-79
                 URL: https://issues.apache.org/jira/browse/ACTIVEMQ6-79
             Project: Apache ActiveMQ 6
          Issue Type: New Feature
            Reporter: Daniel Pocock


When calling getFirstmessageAsJSON it has to return the whole message body.  If only interested in one of the headers (e.g. the timestamp) and if the message body is large then this method can be inefficient.

It would be useful to have methods that just return the headers or just the timestamp or age of the message.

https://github.com/apache/activemq-6/pull/97



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