activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r952387 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
Date Mon, 07 Jun 2010 19:41:29 GMT
Author: tabish
Date: Mon Jun  7 19:41:29 2010
New Revision: 952387

URL: http://svn.apache.org/viewvc?rev=952387&view=rev
Log:
clean up the example driver a bit

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=952387&r1=952386&r2=952387&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Mon Jun  7 19:41:29 2010
@@ -126,8 +126,6 @@ public:
                 producer->send( message );
 
                 delete message;
-
-                Thread::sleep( 500 );
             }
 
         }catch ( CMSException& e ) {
@@ -403,7 +401,7 @@ int main(int argc AMQCPP_UNUSED, char* a
     //============================================================
     bool useTopics = true;
     bool sessionTransacted = false;
-    int numMessages = 20000;
+    int numMessages = 2000;
 
     long long startTime = System::currentTimeMillis();
 



Mime
View raw message