Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6169

STOMP: Invliad frames are logged in warn messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0, 5.12.1, 5.13.0, 5.13.1
    • 5.14.0
    • STOMP
    • None

    Description

      When the STOMP protocol converter encounters a frame that is badly encoded it logs out a warning that prints the entire frame contents in the warn message. This leads to some confusing results or logs of 'null' as the decoder never got to creating a full frame instance before failing.

      If the frame happens to get read but contains corrupted data the log can get spammed with garbage characters and becomes somewhat unreadable.

      We should not log the frame if there is one at warn level, perhaps allow for trace logging it. We could attempt to log the frame Action if one was read and is valid but otherwise should not pollute the logs with entire frames.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: