mirror of https://github.com/apache/activemq.git
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. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@697964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2d743ea8a
commit
3797622ed3
|
@ -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>
|
||||
|
@ -40,6 +40,10 @@
|
|||
<groupId>org.apache.activemq</groupId>
|
||||
<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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -73,26 +77,25 @@
|
|||
<groupId>org.apache.camel</groupId>
|
||||
<artifactId>camel-core</artifactId>
|
||||
</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 -->
|
||||
<!-- =============================== -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue