Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 40852 invoked from network); 26 Mar 2009 21:47:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 21:47:48 -0000 Received: (qmail 96873 invoked by uid 500); 26 Mar 2009 21:47:48 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 96821 invoked by uid 500); 26 Mar 2009 21:47:48 -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 96812 invoked by uid 99); 26 Mar 2009 21:47:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 21:47:48 +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; Thu, 26 Mar 2009 21:47:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3F6E12388AC4; Thu, 26 Mar 2009 21:47:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r758876 - /activemq/activemq-cpp/trunk/src/examples/main.cpp Date: Thu, 26 Mar 2009 21:47:24 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090326214725.3F6E12388AC4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Thu Mar 26 21:47:24 2009 New Revision: 758876 URL: http://svn.apache.org/viewvc?rev=758876&view=rev Log: cleanup some debug code. Modified: activemq/activemq-cpp/trunk/src/examples/main.cpp Modified: activemq/activemq-cpp/trunk/src/examples/main.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/main.cpp?rev=758876&r1=758875&r2=758876&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/examples/main.cpp (original) +++ activemq/activemq-cpp/trunk/src/examples/main.cpp Thu Mar 26 21:47:24 2009 @@ -118,7 +118,6 @@ // Tell the producer to send the message printf( "Sent message #%d from thread %s\n", ix+1, threadIdStr.c_str() ); producer->send( message ); - Thread::sleep( 20 ); delete message; } @@ -357,14 +356,14 @@ // tcp://127.0.0.1:61613?wireFormat=stomp use stomp instead // std::string brokerURI = - "failover://(tcp://127.0.0.1:61616" + "tcp://127.0.0.1:61616" "?wireFormat=openwire" // "&connection.alwaysSyncSend=true" // "&connection.useAsyncSend=true" // "&transport.commandTracingEnabled=true" // "&transport.tcpTracingEnabled=true" // "&wireFormat.tightEncodingEnabled=true" - ")"; + ""; //============================================================ // set to true to use topics instead of queues @@ -373,7 +372,7 @@ //============================================================ bool useTopics = true; bool sessionTransacted = false; - int numMessages = 20000; + int numMessages = 2000; long long startTime = Date::getCurrentTimeMilliseconds();