You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (Jira)" <ji...@apache.org> on 2019/09/23 13:58:00 UTC

[jira] [Closed] (ARTEMIS-2500) CoreMessage doesn't make a full copy of its props

     [ https://issues.apache.org/jira/browse/ARTEMIS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-2500.
------------------------------------
    Fix Version/s:     (was: 2.11.0)
       Resolution: Not A Problem

Mesasge copy happens at the copy constructor, which does make a copy of the properties. This is not an issue.

> CoreMessage doesn't make a full copy of its props
> -------------------------------------------------
>
>                 Key: ARTEMIS-2500
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2500
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.10.0
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Major
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)