activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r523711 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
Date Thu, 29 Mar 2007 13:52:11 GMT
Author: tabish
Date: Thu Mar 29 06:52:06 2007
New Revision: 523711

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

making openwire the default now for testing

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp?view=diff&rev=523711&r1=523710&r2=523711
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Thu Mar 29 06:52:06 2007
@@ -75,7 +75,7 @@
             // Create a Connection
             connection = connectionFactory->createConnection();
             connection->start();
-            
+
             // free the factory, we are done with it.
             delete connectionFactory;
 
@@ -293,8 +293,8 @@
     // add any optional params to the url to enable things like
     // tightMarshalling or tcp logging etc.
     std::string brokerURI =
-        "tcp://127.0.0.1:61613";
-//        "?wireFormat=openwire"
+        "tcp://127.0.0.1:61616"
+        "?wireFormat=openwire";
 //        "&commandTracingEnabled=true"
 //        "&tcpTracingEnabled=true"
 //        "&wireFormat.tightEncodingEnabled=true";
@@ -306,7 +306,7 @@
     //============================================================
     bool useTopics = true;
 
-    HelloWorldProducer producer( brokerURI, 2000, useTopics );   
+    HelloWorldProducer producer( brokerURI, 2000, useTopics );
     HelloWorldConsumer consumer( brokerURI, 12000, useTopics );
 
     // Start the consumer thread.



Mime
View raw message