activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r636064 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
Date Tue, 11 Mar 2008 19:12:00 GMT
Author: chirino
Date: Tue Mar 11 12:11:51 2008
New Revision: 636064

URL: http://svn.apache.org/viewvc?rev=636064&view=rev
Log:
A client should connect to the same broker for it's sending and receiving so that the broker
does the forwarding

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java?rev=636064&r1=636063&r2=636064&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
Tue Mar 11 12:11:51 2008
@@ -79,7 +79,7 @@
 		private final Connection fromConnection;
 
 		public ForwardingClient(int from, int to) throws JMSException {
-			toConnection = createConnection(to);
+			toConnection = createConnection(from);
 			Session toSession = toConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);
 			final MessageProducer producer = toSession.createProducer(new ActiveMQQueue("Q"+to));
 			producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);



Mime
View raw message