-
Bug
-
Resolution: Done
-
Major
-
None
-
JBoss A-MQ 6.1
-
None
-
None
PerfCake was sending 5Kb messages in 100 concurrent threads to the Camel route below for 5 minutes.For KahaDB duplicate messages occurred.The average performance with LevelDB (both drivers) was 30 iterations/second, for KahaDB it was 80 iterations/sec.With AverageEnqueueTime for queue.request - 3212 milliseconds,
AverageEnqueueTime for queue.response - 0.5 milliseconds for LevelDB.AverageEnqueueTime for queue.request - 539 milliseconds,
AverageEnqueueTime for queue.response - 968 milliseconds for KahaDB.| <camelContext trace="false" xmlns="http://camel.apache.org/schema/spring">|
<route id="JMSQueues"> |
<from uri="activemq:queue:queue.request?username=admin&password=admin"/> |
<to uri="activemq:queue:queue.response?username=admin&password=admin"/> |
</route> |
</camelContext> |
<bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> |
<property name="brokerURL" value="tcp://localhost:61616"/> |
</bean> |
<bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop"> |
<property name="maxConnections" value="200"/> |
<property name="connectionFactory" ref="jmsConnectionFactory"/> |
</bean> |
<bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"> |
<property name="connectionFactory" ref="pooledConnectionFactory"/> |
<property name="transacted" value="false"/> |
<property name="concurrentConsumers" value="100"/> |
<property name="maxConcurrentConsumers" value="200"/> |
</bean> |
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> |
<property name="configuration" ref="jmsConfig"/> |
</bean> |