[ 
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)

Reply via email to