You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/11/17 17:29:36 UTC
svn commit: r476198 -
/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
Author: chirino
Date: Fri Nov 17 08:29:35 2006
New Revision: 476198
URL: http://svn.apache.org/viewvc?view=rev&rev=476198
Log:
Better.
Modified:
incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java?view=diff&rev=476198&r1=476197&r2=476198
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java (original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java Fri Nov 17 08:29:35 2006
@@ -33,7 +33,8 @@
* @version $Revision: 1.3 $
*/
public class SimpleTopicTest extends TestCase{
- private static final Log log=LogFactory.getLog(SimpleTopicTest.class);
+ private final Log log=LogFactory.getLog(getClass());
+
protected BrokerService broker;
protected String bindAddress="tcp://localhost:61616?wireFormat.cacheEnabled=true&wireFormat.tightEncodingEnabled=true";
//protected String bindAddress="tcp://localhost:61616?wireFormat.cacheEnabled=true&wireFormat.tightEncodingEnabled=false";
@@ -42,7 +43,7 @@
protected PerfProducer[] producers;
protected PerfConsumer[] consumers;
protected String DESTINATION_NAME=getClass().toString();
- protected int SAMPLE_COUNT = 10;
+ protected int SAMPLE_COUNT = 30;
protected long SAMPLE_INTERVAL = 2000;
protected int NUMBER_OF_CONSUMERS=1;
protected int NUMBER_OF_PRODUCERS=1;