activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: fixing expiry test
Date Sat, 04 Mar 2017 06:32:13 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/artemis-1009 f18e5afdd -> e0b07ef1d


fixing expiry test


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e0b07ef1
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e0b07ef1
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e0b07ef1

Branch: refs/heads/artemis-1009
Commit: e0b07ef1d0c763571b42f357684713cbd95aa7dc
Parents: f18e5af
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Sat Mar 4 01:32:05 2017 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Sat Mar 4 01:32:05 2017 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/server/impl/QueueImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e0b07ef1/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
index ed9a396..f466484 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
@@ -2493,7 +2493,7 @@ public class QueueImpl implements Queue {
       Message copy = message.copy(newID);
 
       if (copyOriginalHeaders) {
-         copy.referenceOriginalMessage(message, ref != null ? ref.getQueue().getAddress().toString()
: null);
+         copy.referenceOriginalMessage(message, ref != null ? ref.getQueue().getName().toString()
: null);
       }
 
       if (expiry) {


Mime
View raw message