activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r412074 - in /incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven: ConsumerMojo.java ProducerMojo.java
Date Tue, 06 Jun 2006 10:50:32 GMT
Author: foconer
Date: Tue Jun  6 03:50:31 2006
New Revision: 412074

URL: http://svn.apache.org/viewvc?rev=412074&view=rev
Log:
Fixed error when starting perf test.

Modified:
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java?rev=412074&r1=412073&r2=412074&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
Tue Jun  6 03:50:31 2006
@@ -33,7 +33,7 @@
         extends AbstractMojo {
 
     /**
-     * @parameter expression="${sampler.durable}" default-value="60000"
+     * @parameter expression="${sampler.duration}" default-value="60000"
      * @required
      */
     private String duration;
@@ -195,6 +195,8 @@
 
     public String[] createArgument() {
         String[] options = new String[25];
+
+        System.out.println("--- " + duration + " ----");
         options[0] = "-Dsampler.duration=" + duration;     // 1 min
         options[1] = "-Dsampler.interval=" + interval;      // 5 secs
         options[2] = "-Dsampler.rampUpTime=" + rampUpTime;   // 10 secs

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java?rev=412074&r1=412073&r2=412074&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
Tue Jun  6 03:50:31 2006
@@ -31,7 +31,7 @@
         extends AbstractMojo {
 
     /**
-     * @parameter expression="${sampler.durable}" default-value="60000"
+     * @parameter expression="${sampler.duration}" default-value="60000"
      * @required
      */
     private String duration;
@@ -158,7 +158,8 @@
     }
 
     public String[] createArgument() {
-        String[] options = new String[25];
+
+        String[] options = new String[20];
         options[0] = "-Dsampler.duration=" + duration;     // 1 min
         options[1] = "-Dsampler.interval=" + interval;      // 5 secs
         options[2] = "-Dsampler.rampUpTime=" + rampUpTime;   // 10 secs
@@ -179,10 +180,10 @@
         options[14] = "-Dfactory.brokerUrl="+brokerUrl;
         options[15] = "-Dfactory.asyncSend="+asyncSend;
 
-        options[21] = "-DsysTest.numClients=" + numClients;
-        options[22] = "-DsysTest.totalDests=" + totalDests;
-        options[23] = "-DsysTest.destDistro=" + destDistro;
-        options[24] = "-DsysTest.reportDirectory=" + reportDirectory;
+        options[16] = "-DsysTest.numClients=" + numClients;
+        options[17] = "-DsysTest.totalDests=" + totalDests;
+        options[18] = "-DsysTest.destDistro=" + destDistro;
+        options[19] = "-DsysTest.reportDirectory=" + reportDirectory;
 
         return options;
     }



Mime
View raw message