activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r760980 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
Date Wed, 01 Apr 2009 17:44:08 GMT
Author: tabish
Date: Wed Apr  1 17:44:08 2009
New Revision: 760980

URL: http://svn.apache.org/viewvc?rev=760980&view=rev
Log:
Added a printStackTrace to the consumer's onException method.

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?rev=760980&r1=760979&r2=760980&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Wed Apr  1 17:44:08 2009
@@ -289,6 +289,7 @@
     // registered as an ExceptionListener with the connection.
     virtual void onException( const CMSException& ex AMQCPP_UNUSED) {
         printf("CMS Exception occurred.  Shutting down client.\n");
+        ex.printStackTrace();
         exit(1);
     }
 



Mime
View raw message