Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 77518 invoked from network); 1 Apr 2009 17:44:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 17:44:32 -0000 Received: (qmail 48203 invoked by uid 500); 1 Apr 2009 17:44:32 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 48180 invoked by uid 500); 1 Apr 2009 17:44:32 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 48171 invoked by uid 99); 1 Apr 2009 17:44:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:44:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:44:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 326F52388970; Wed, 1 Apr 2009 17:44:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r760980 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Date: Wed, 01 Apr 2009 17:44:08 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090401174409.326F52388970@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); }