Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3108

[AMQ7, large messages] LargeMessage doesn't make a full copy of its props

XMLWordPrintable

    • Release Notes
    • +
    • Hide
      Previously, a copy of a large message still referenced some properties of the original message. This caused unexpected behaviour when a thread modified the properties. This issue is resolved. When the broker copies a large message, all properties are included in the copy.
      Show
      Previously, a copy of a large message still referenced some properties of the original message. This caused unexpected behaviour when a thread modified the properties. This issue is resolved. When the broker copies a large message, all properties are included in the copy.
    • Documented as Resolved Issue
    • Verified in a release

      Downstream tracker for https://issues.apache.org/jira/browse/ARTEMIS-2500

      From upstream JIRA:

      When CoreMessage is doing copyHeadersAndProperties() it doesn't
      make a full copy of its properties (a TypedProperties object).
      It will cause problem when multiple threads/parties are modifying the
      properties of the copied messages from the same message.
      

              rh-ee-ataylor Andy Taylor
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: