You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/03/29 15:52:11 UTC

svn commit: r523711 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp

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.