Hi,

I have written camel Spring DSL route which consumes from JMS queue and
publishes it to a topic. This route is working fine in general but when
there is a consistent load for longer time, the route performance is slowing
down from ~6k msgs/min to ~600 msgs/min.

Below is my JMS configurations. Can you please help to keep the performance
consistent always.

        
        <bean id="wmqConnectionFactory1"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
                <property name="CCDTURL" ref="urlobj1" />
                <property name="queueManager" value="${WMQ.queuemanager1}" />
        </bean>

        
        <bean id="cachingWmqConnectionFactory1"
                
class="org.springframework.jms.connection.CachingConnectionFactory"
                destroy-method="destroy">
                <property name="targetConnectionFactory" 
ref="wmqConnectionFactory1" />
                <property name="cacheConsumers" value="true" />
                <property name="reconnectOnException" value="true" />
                <property name="sessionCacheSize" value="10" />
        </bean>

        
        <bean id="wmqTransactionManager1"
                
class="org.springframework.jms.connection.JmsTransactionManager">
                <property name="connectionFactory" ref="wmqConnectionFactory1" 
/>
        </bean>

        
        <bean id="wmq-qm1" class="org.apache.camel.component.jms.JmsComponent">
                <property name="connectionFactory" 
ref="cachingWmqConnectionFactory1" />
                <property name="transactionManager" 
ref="wmqTransactionManager1" />
                <property name="transacted" value="false" />
                <property name="cacheLevelName" value="CACHE_AUTO" />
                <property name="concurrentConsumers" value="10" />
                <property name="maxConcurrentConsumers" value="10" />
                <property name="maxMessagesPerTask" value="100" />
        </bean>



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-kafka-route-performance-slowing-down-tp5778885.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to