Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-292

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0, 1.4.1
    • 1.5.0
    • ActiveMQ
    • None
    • .NET 2.0, .NET 4.0

    • Regression

    Description

      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.

      Attachments

        Activity

          People

            jgomes Jim Gomes
            jgomes Jim Gomes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified