activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r711440 - /activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
Date Tue, 04 Nov 2008 22:02:44 GMT
Author: tabish
Date: Tue Nov  4 14:02:44 2008
New Revision: 711440

URL: http://svn.apache.org/viewvc?rev=711440&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-200

Remove code that was forcing the use of the same Client Id for each connection which could
cause errors.

Modified:
    activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp?rev=711440&r1=711439&r2=711440&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
Tue Nov  4 14:02:44 2008
@@ -22,25 +22,26 @@
 
 #include <activemq/core/ActiveMQConnectionFactory.h>
 #include <activemq/exceptions/ActiveMQException.h>
-#include <decaf/lang/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
-#include <decaf/util/Properties.h>
 #include <activemq/transport/TransportFactory.h>
-#include <decaf/util/UUID.h>
-#include <decaf/util/Properties.h>
-#include <decaf/util/StringTokenizer.h>
 #include <activemq/connector/ConnectorFactoryMap.h>
-#include <decaf/net/SocketFactory.h>
 #include <activemq/transport/TransportFactory.h>
-#include <decaf/net/Socket.h>
-#include <decaf/lang/exceptions/NullPointerException.h>
 #include <activemq/core/ActiveMQConnection.h>
 #include <activemq/core/ActiveMQConsumer.h>
 #include <activemq/core/ActiveMQProducer.h>
+
 #include <decaf/util/StringTokenizer.h>
 #include <decaf/lang/Boolean.h>
 #include <decaf/lang/Runnable.h>
 #include <decaf/util/concurrent/CountDownLatch.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+#include <decaf/net/Socket.h>
+#include <decaf/net/SocketFactory.h>
+#include <decaf/util/UUID.h>
+#include <decaf/util/Properties.h>
+#include <decaf/util/StringTokenizer.h>
+#include <decaf/util/Properties.h>
+#include <decaf/lang/Thread.h>
 
 #include <cms/Connection.h>
 #include <cms/MessageConsumer.h>
@@ -231,14 +232,9 @@
 
             try {
 
-                string user,passwd,sID;
-                user="default";
-                passwd="";
-                sID="lsgID";
-
                 // Create a Connection
                 connection = ActiveMQConnectionFactory::createConnection(
-                    IntegrationCommon::getInstance().getStompURL(), user, passwd, sID );
+                    IntegrationCommon::getInstance().getStompURL(), "", "", "" );
 
                 connection->start();
 



Mime
View raw message