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

Restrict/truncate messages attributes to a configurable limit for management views

    XMLWordPrintableJSON

Details

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

    Description

      We still populate lots of per message data. ARTEMIS-3141 limits the number of messages that are returned by default however the message data is still displayed in full.
      With a few kbytes of data in message properties, it can quickly get become a burden.
      The open type message body is called BodyPreview - but we put the whole body in there at the moment.

      This enhancement will add an address setting - management-message-attribute-size-limit
      with a reasonable 256 default.
      That will truncate all message attributes returned in JSON or JMX OpenData to this value.
      Most properties will fit in that limit and be fully visible, anything bigger will be difficult to view and is too much data to be exposing in bulk to a console or client.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 5h 20m
                  5h 20m