Not all properties of the Message are copied during a call to
Message.copy(Message)
-----------------------------------------------------------------------------------
Key: AMQ-849
URL: https://issues.apache.org/activemq/browse/AMQ-849
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 4.0.2, 4.0.1
Reporter: Mathew Kuppe
Fix For: 4.0.3
Attachments: message-copy-patch.txt
Noticed that when using copyOnSend feature and compression, sent messages were
not being compressed. It was then found that this was due to the fact that the
connection that is used to determine whether compression should be performed or
not, was null for the copied message. A look into the Message found that the
connection and a number of other properties of the Message were not copied in
the copy(Message)
The patch attached copies the remaining properties of the Message to the
message copy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira