Properties are set to ReadOnly after sending message with CopyOnSend semantics.
-------------------------------------------------------------------------------

                 Key: AMQNET-292
                 URL: https://issues.apache.org/activemq/browse/AMQNET-292
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ
    Affects Versions: 1.4.0, 1.4.1
         Environment: .NET 2.0, .NET 4.0
            Reporter: Jim Gomes
            Assignee: Jim Gomes
             Fix For: 1.5.0


When a message is sent, the producer will make a copy of the message if the 
copy on send option is on, so that the client can re-use the original message.  
However, the internal PropertyHelper does not get duplicated in the cloning 
operation, and the properties of the message remain in read-only mode and will 
throw an exception if they are modified.

The PropertyHelper member needs to be cloned during the copy-on-send semantics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to