activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r697964 - in /activemq/trunk/activemq-camel-loadtest: pom.xml src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml
Date Mon, 22 Sep 2008 19:50:04 GMT
Author: janstey
Date: Mon Sep 22 12:50:04 2008
New Revision: 697964

URL: http://svn.apache.org/viewvc?rev=697964&view=rev
Log:
AMQ-1865 - Get camel load test working again.

I needed to increase the delay between produced messages
from the deafult 3 ms to 10ms. I think there are some
concurrency issues in Camel's dataset component.


Modified:
    activemq/trunk/activemq-camel-loadtest/pom.xml
    activemq/trunk/activemq-camel-loadtest/src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml

Modified: activemq/trunk/activemq-camel-loadtest/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-camel-loadtest/pom.xml?rev=697964&r1=697963&r2=697964&view=diff
==============================================================================
--- activemq/trunk/activemq-camel-loadtest/pom.xml (original)
+++ activemq/trunk/activemq-camel-loadtest/pom.xml Mon Sep 22 12:50:04 2008
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache.activemq</groupId>
     <artifactId>activemq-parent</artifactId>
-    <version>5.1-SNAPSHOT</version>
+    <version>5.3-SNAPSHOT</version>
   </parent>
 
   <artifactId>activemq-camel-loadtest</artifactId>
@@ -41,6 +41,10 @@
       <artifactId>activemq-core</artifactId>
     </dependency>
     <dependency>
+      <groupId>org.apache.activemq</groupId>
+      <artifactId>activemq-camel</artifactId>
+    </dependency>
+    <dependency>
       <groupId>org.apache.xbean</groupId>
       <artifactId>xbean-spring</artifactId>
     </dependency>
@@ -59,7 +63,7 @@
     </dependency>
     <dependency>
       <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
+      <artifactId>geronimo-jacc_1.1_spec</artifactId>
       <optional>true</optional>
     </dependency>
 
@@ -75,24 +79,23 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
+      <artifactId>camel-core</artifactId>
+      <type>test-jar</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
       <artifactId>camel-spring</artifactId>
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-jms</artifactId>
+      <artifactId>camel-spring</artifactId>
+      <type>test-jar</type>
     </dependency>
     <dependency>
       <groupId>commons-pool</groupId>
       <artifactId>commons-pool</artifactId>
     </dependency>
 
-
-    <!-- for XML parsing -->
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-    </dependency>
-
     <!-- =============================== -->
     <!-- Testing Dependencies            -->
     <!-- =============================== -->

Modified: activemq/trunk/activemq-camel-loadtest/src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-camel-loadtest/src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml?rev=697964&r1=697963&r2=697964&view=diff
==============================================================================
--- activemq/trunk/activemq-camel-loadtest/src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml
(original)
+++ activemq/trunk/activemq-camel-loadtest/src/test/resources/org/apache/activemq/soaktest/LoadTest-context.xml
Mon Sep 22 12:50:04 2008
@@ -27,13 +27,14 @@
   <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
 
     <route>
-      <from uri="dataset:myDataSet"/>
+      <!-- sends messages every 10 milliseconds -->
+      <from uri="dataset:myDataSet?produceDelay=10"/>
       <to uri="activemq:test.queue"/>
     </route>
 
     <route>
       <from uri="activemq:test.queue"/>
-      <to uri="dataset:myDataSet"/>
+      <to uri="dataset:myDataSet?produceDelay=10"/>
     </route>
 
   </camelContext>
@@ -51,5 +52,12 @@
     </transportConnectors>
 
   </broker>
+
+  <!-- Lets connect the Camel ActiveMQ component to the embedded broker.
+    See http://activemq.apache.org/camel/activemq.html for more information.
+  -->
+  <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
+    <property name="brokerURL" value="tcp://localhost:61616" />
+  </bean>
 </beans>
 <!-- END SNIPPET: example -->



Mime
View raw message