activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r688551 - /activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp
Date Sun, 24 Aug 2008 19:53:33 GMT
Author: tabish
Date: Sun Aug 24 12:53:33 2008
New Revision: 688551

URL: http://svn.apache.org/viewvc?rev=688551&view=rev
Log:
Minor Code Cleanup

Modified:
    activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp

Modified: activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp?rev=688551&r1=688550&r2=688551&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp Sun Aug 24
12:53:33 2008
@@ -143,7 +143,7 @@
     // If something bad happens you see it here as this class is also been
     // registered as an ExceptionListener with the connection.
     virtual void onException( const CMSException& ex AMQCPP_UNUSED) {
-        printf("CMS Exception occured.  Shutting down client.\n");
+        printf("CMS Exception occurred.  Shutting down client.\n");
         exit(1);
     }
 
@@ -211,11 +211,12 @@
     //
     std::string brokerURI =
         "tcp://127.0.0.1:61616"
-        "?wireFormat=openwire";
+        "?wireFormat=openwire"
 //        "&transport.useAsyncSend=true"
 //        "&transport.commandTracingEnabled=true"
-//        "&transport.tcpTracingEnabled=true";
-//        "&wireFormat.tightEncodingEnabled=true";
+//        "&transport.tcpTracingEnabled=true"
+//        "&wireFormat.tightEncodingEnabled=true"
+        ;
 
     //============================================================
     // This is the Destination Name and URI options.  Use this to



Mime
View raw message