Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-586

MalformedInputException when trying to decode a compressed message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.59.0, 1.7.0
    • None
    • qpid-jms-client
    • None

    Description

      content-encoding:  gzip
      content-type:      application/json; charset="utf-8"

      When receiving a message with a compressed body, the content-encoding is ignored when decoding the message. This results in the client trying to decode the message as a Text message using the content-type's charset, which eventually leads to a MalformedInputException.

      The message should either be decompressed first before trying to decode it, or it should at least be decoded as a Bytes message so that we can handle the content-encoding ourselves.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgagnon Xavier Gagnon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: