You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ar...@apache.org on 2007/11/22 20:04:39 UTC

svn commit: r597477 - /incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/JMSProducer.java

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)
         {