[ https://issues.apache.org/activemq/browse/AMQ-849?page=all ]
james strachan resolved AMQ-849.
--------------------------------
Fix Version/s: 4.1
(was: 4.0.3)
Resolution: Fixed
Patch applied - many thanks
> 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.1, 4.0.2
> Reporter: Mathew Kuppe
> Fix For: 4.1
>
> Attachments: message-copy-patch.txt
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> 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