franz1981 commented on a change in pull request #2846: ARTEMIS-2500 CoreMessage
doesn't make a ful copy of its props
URL: https://github.com/apache/activemq-artemis/pull/2846#discussion_r326961139
##########
File path:
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
##########
@@ -461,7 +461,7 @@ public void copyHeadersAndProperties(final Message msg) {
priority = msg.getPriority();
if (msg instanceof CoreMessage) {
- properties = ((CoreMessage) msg).getProperties();
+ properties = new TypedProperties(((CoreMessage) msg).getProperties());
Review comment:
SO the problem is that 'msg' and `this` don't have to share the same
`TypedProperties` instance?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services