Xavier Gagnon created QPIDJMS-586:
-------------------------------------
Summary: MalformedInputException when trying to decode a
compressed message
Key: QPIDJMS-586
URL: https://issues.apache.org/jira/browse/QPIDJMS-586
Project: Qpid JMS
Issue Type: Bug
Components: qpid-jms-client
Affects Versions: 1.7.0, 0.59.0
Reporter: Xavier Gagnon
{code:java}
content-encoding: gzip
content-type: application/json; charset="utf-8"{code}
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]