You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Howard Gao (JIRA)" <ji...@apache.org> on 2017/12/25 01:50:00 UTC
[jira] [Resolved] (ARTEMIS-1566) Openwire client can't receive
compressed messages
[ https://issues.apache.org/jira/browse/ARTEMIS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard Gao resolved ARTEMIS-1566.
---------------------------------
Resolution: Fixed
> Openwire client can't receive compressed messages
> -------------------------------------------------
>
> Key: ARTEMIS-1566
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1566
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: OpenWire
> Affects Versions: 2.4.0
> Reporter: Howard Gao
> Assignee: Howard Gao
> Fix For: 2.5.0
>
>
> When openwire client uses compressed option to send messages (jms.useCompression=true) openwire client failed to receive them. The reason is in OpenwireMessageConverter.toAMQMessage():
> 1. message.setContent() should be called after setting properties (It will cause the compressed content to decompressed before delivering to clients)
> 2. message.onSend() should not be called here (it should be used by producers. If used here it changes the internal flags of the message and cause receive to fail).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)