Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3141

limit the amount of data returned from jmx/queue control listMessages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.17.0
    • 2.18.0
    • JMX
    • None

    Description

      The list methods of queue control that are exposed via jmx seem to be unbounded.
      1) they list all messages
      2) they display the full body

      To protect both the broker and the browser/UI/client it would make sense to limit both the number of messages and the size of the data that is returned.

      Imaging 500k messages pending messages with a body of 10k... and 400k are paged to disk. It would be crazy to try and list those.

      I need to do some more tests to verify the extent a broker will do to support the current api. I note that the browse functionality can be paged and with out a page defaults to 200 messages. That is sensible.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h