clebertsuconic commented on code in PR #4506:
URL: https://github.com/apache/activemq-artemis/pull/4506#discussion_r1229756941


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/BindingsImpl.java:
##########
@@ -270,6 +270,11 @@ public Message redistribute(final Message message,
          logger.debug("Message {} being copied as {}", message.getMessageID(), 
copyRedistribute.getMessageID());
       }
       copyRedistribute.setAddress(message.getAddress());
+      for (SimpleString property : copyRedistribute.getPropertyNames()) {

Review Comment:
   @jbertram I think you should rather use 
coopyRedistribute.clearInternalProperties() here. and if that does not work, 
there's a predicate thing that Michael Pierce introduce that should have to be 
initialized.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to