[
https://issues.apache.org/jira/browse/AMQCPP-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-424.
---------------------------------
Resolution: Fixed
updated the clone implementations for the cms Message object such that the
cloned message is not in read-only mode.
> Cannot clone() and then update properties of the newly cloned message
> ---------------------------------------------------------------------
>
> Key: AMQCPP-424
> URL: https://issues.apache.org/jira/browse/AMQCPP-424
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.4.3, 3.4.4
> Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
> 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64
> GNU/Linux
> Reporter: Martin Lichtin
> Assignee: Timothy Bish
> Fix For: 3.5.0
>
> Attachments: amqcpp-424.tar
>
>
> Consuming a message, then cloning it and subsequently attempting to make the
> properties of the new message writable (using setReadOnlyProperties(false))
> does not seem to work.
> Calling cms::Message::setStringProperty() will result in a
> 'cms::MessageNotWriteableException' being thrown.
> Will try to provide test code to demonstrate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira