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 2008/08/24 21:53:33 UTC
svn commit: r688551 -
/activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp
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