You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2015/06/29 13:12:36 UTC

activemq git commit: https://issues.apache.org/jira/browse/AMQ-5639 - fix regression in NetworkRouteTest eashmock test

Repository: activemq
Updated Branches:
  refs/heads/master 002ade79b -> bbf288b12


https://issues.apache.org/jira/browse/AMQ-5639 - fix regression in NetworkRouteTest eashmock test


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

Branch: refs/heads/master
Commit: bbf288b12c22298f7ee6bc5964080ffc0532dc89
Parents: 002ade7
Author: gtully <ga...@gmail.com>
Authored: Mon Jun 29 12:10:31 2015 +0100
Committer: gtully <ga...@gmail.com>
Committed: Mon Jun 29 12:10:31 2015 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/network/NetworkRouteTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/bbf288b1/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkRouteTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkRouteTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkRouteTest.java
index 4cd97b0..0f50afe 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkRouteTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkRouteTest.java
@@ -232,6 +232,7 @@ public class NetworkRouteTest {
         msg.setDestination(new ActiveMQTopic("test"));
         msgDispatch = new MessageDispatch();
         msgDispatch.setMessage(msg);
+        msgDispatch.setDestination(msg.getDestination());
 
         ConsumerInfo path1 = new ConsumerInfo();
         path1.setDestination(msg.getDestination());