Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2010#discussion_r180859972
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
 ---
    @@ -2727,7 +2731,7 @@ private Message makeCopy(final MessageReference ref,
           Message copy = message.copy(newID);
     
           if (copyOriginalHeaders) {
    -         copy.referenceOriginalMessage(message, ref != null ? 
ref.getQueue().getName().toString() : null);
    +         copy.referenceOriginalMessage(message, 
ref.getQueue().getName().toString());
    --- End diff --
    
    keep it ! :) nice one!


---

Reply via email to