You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/24 00:08:00 UTC
[jira] [Commented] (ARTEMIS-2500) LargeMessage doesn't make a full
copy of its props
[ https://issues.apache.org/jira/browse/ARTEMIS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936265#comment-16936265 ]
ASF subversion and git services commented on ARTEMIS-2500:
----------------------------------------------------------
Commit a2504288c6dd90f31a8c8f6f01f546e172565282 in activemq-artemis's branch refs/heads/master from Howard Gao
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=a250428 ]
ARTEMIS-2500 CoreMessage doesn't make a ful copy of its props on moveHeadersAndProperties
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 will be particular bad if the message is a large message
where moveHeadersAndProperties is being used.
> LargeMessage 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)