You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Created) (JIRA)" <ji...@apache.org> on 2011/10/20 21:22:10 UTC
[jira] [Created] (AMQ-3556) HttpTransport not playing nice with
Compression and sending TextMessage
HttpTransport not playing nice with Compression and sending TextMessage
-----------------------------------------------------------------------
Key: AMQ-3556
URL: https://issues.apache.org/jira/browse/AMQ-3556
Project: ActiveMQ
Issue Type: Bug
Components: Transport
Affects Versions: 5.x
Reporter: Timothy Bish
Assignee: Timothy Bish
Priority: Minor
Fix For: 5.6.0
When sending or receiving messages with the HttpTransport and the UseCompression setting enabled on the ActiveMQConnectionFactory all messages are sent and received with Message bodies correctly compressed except for the TextMessage which is not sent with contents compressed (receipt does work). The problem is that the XStreamWireFormat doesn't call beforeMarshall in its marshalText method for any MarshalAware commands that are sent (in the case of MessageDispatch it must do this on the inner Message object).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3556) HttpTransport not playing nice with
Compression and sending TextMessage
Posted by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-3556.
-------------------------------
Resolution: Fixed
Fix applied in trunk along with a Test for send/receive over the HttpTransport with compression enabled.
> HttpTransport not playing nice with Compression and sending TextMessage
> -----------------------------------------------------------------------
>
> Key: AMQ-3556
> URL: https://issues.apache.org/jira/browse/AMQ-3556
> Project: ActiveMQ
> Issue Type: Bug
> Components: Transport
> Affects Versions: 5.x
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 5.6.0
>
>
> When sending or receiving messages with the HttpTransport and the UseCompression setting enabled on the ActiveMQConnectionFactory all messages are sent and received with Message bodies correctly compressed except for the TextMessage which is not sent with contents compressed (receipt does work). The problem is that the XStreamWireFormat doesn't call beforeMarshall in its marshalText method for any MarshalAware commands that are sent (in the case of MessageDispatch it must do this on the inner Message object).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira