Kirill Chadakin created ARTEMIS-4469:
----------------------------------------
Summary: Setting the _AMQ_LARGE_COMPRESSED header when sending a
compressed message
Key: ARTEMIS-4469
URL: https://issues.apache.org/jira/browse/ARTEMIS-4469
Project: ActiveMQ Artemis
Issue Type: Improvement
Affects Versions: 2.30.0
Reporter: Kirill Chadakin
When compressing the message body, the final size may be smaller than the
threshold value for the body size at which the message is considered large
(min-large-message-size). When sending a large message, the
_AMQ_LARGE_COMPRESSED header is set to true if the message is compressed, and
false if it is uncompressed. When sending a regular message, the header is not
set. If a client mistakenly sets _AMQ_LARGE_COMPRESSED to true when sending a
regular message, an error will occur during the message unpacking process when
receiving such a message from the queue. This can be fixed by forcibly setting
the _AMQ_LARGE_COMPRESSED header for both large and regular messages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)