activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r733123 - /activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp
Date Fri, 09 Jan 2009 19:26:55 GMT
Author: tabish
Date: Fri Jan  9 11:26:54 2009
New Revision: 733123

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

Some initial refactoring work that leads to V3 and addition of Failover.

Modified:
    activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp?rev=733123&r1=733122&r2=733123&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionFactoryTest.cpp Fri
Jan  9 11:26:54 2009
@@ -36,7 +36,7 @@
     try
     {
         std::string URI =
-            "mock://127.0.0.1:23232&wireFormat=stomp";
+            "mock://127.0.0.1:23232?wireFormat=stomp";
 
         ActiveMQConnectionFactory connectionFactory( URI );
 
@@ -61,9 +61,9 @@
     try
     {
         std::string URI = std::string() +
-            "mock://127.0.0.1:23232&wireFormat=stomp?"
-            "username=" + username + "?password=" + password +
-            "?client-id=" + clientId;
+            "mock://127.0.0.1:23232?wireFormat=stomp&"
+            "username=" + username + "&password=" + password +
+            "&client-id=" + clientId;
 
         ActiveMQConnectionFactory connectionFactory( URI );
 
@@ -101,7 +101,7 @@
     try
     {
         std::string URI =
-            "mock://127.0.0.1:23232&wireFormat=openwire";
+            "mock://127.0.0.1:23232?wireFormat=openwire";
 
         ActiveMQConnectionFactory connectionFactory( URI );
 
@@ -126,9 +126,9 @@
     try
     {
         std::string URI = std::string() +
-            "mock://127.0.0.1:23232&wireFormat=openwire?"
-            "username=" + username + "?password=" + password +
-            "?client-id=" + clientId;
+            "mock://127.0.0.1:23232?wireFormat=openwire&"
+            "username=" + username + "&password=" + password +
+            "&client-id=" + clientId;
 
         ActiveMQConnectionFactory connectionFactory( URI );
 
@@ -165,7 +165,7 @@
     try
     {
         std::string URI =
-            "tcp://127.0.0.2:23232&wireFormat=openwire";
+            "tcp://127.0.0.2:23232?wireFormat=openwire";
 
         ActiveMQConnectionFactory connectionFactory( URI );
 



Mime
View raw message