qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r597477 - /incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java
Date Thu, 22 Nov 2007 19:04:39 GMT
Author: arnaudsimon
Date: Thu Nov 22 11:04:37 2007
New Revision: 597477

URL: http://svn.apache.org/viewvc?rev=597477&view=rev
Log:
Added         prod.setDisableMessageTimestamp(true);

Modified:
    incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java

Modified: incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java?rev=597477&r1=597476&r2=597477&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java
(original)
+++ incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java
Thu Nov 22 11:04:37 2007
@@ -45,6 +45,8 @@
             _session = _connection.createSession(_transacted, _ackMode);
             _payload = TestMessageFactory.newBytesMessage(_session, _messageSize);
             _producer = _session.createProducer(_destination);
+            // this should speedup the message producer 
+            _producer.setDisableMessageTimestamp(true);
         }
         catch(Exception e)
         {



Mime
View raw message