activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Commented] (AMQCPP-424) Cannot clone() and then update properties of the newly cloned message
Date Thu, 30 Aug 2012 14:38:07 GMT


Timothy Bish commented on AMQCPP-424:

The reinterpret cast in the test that sets the read only property is a bit frightening.  This
should really be a dynamic cast.  Also there are nearly 2000 unit tests in the unit test portion
of the code you can use to create a simpler test case.  The src/test/activemq/commands folder
contains tests for message objects.
> Cannot clone() and then update properties of the newly cloned message
> ---------------------------------------------------------------------
>                 Key: AMQCPP-424
>                 URL:
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>         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
>         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:

View raw message