camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vanshul.Chawla <>
Subject RE: JMS MQ performance improvement
Date Wed, 29 Jul 2015 03:31:36 GMT
To increase performance, use caching of connection. We used the same and are able to process
a huge volume.

<!-- Queue Manager Connection factory(s) -->

  <bean id="wmqConnectionFactory1-Prod1-FIT" class="">

    <property name="CCDTURL">

      <bean class=""


        <argument value="${financial.WMQ.CCDTfile}" />



    <property name="queueManager" value="${financial.WMQ.QMGrpName1}" />


  <!-- Cache Connection Factory -->

  <bean id="cachingWmqConnectionFactory1-Prod1-FIT"



    <property name="targetConnectionFactory" ref="wmqConnectionFactory1-Prod1-FIT" />

    <property name="cacheConsumers" value="true" />

    <property name="reconnectOnException" value="true" />

    <property name="sessionCacheSize" value="10" />


  <!--Spring Transaction Manager -->

  <bean id="wmqTransactionManager1-Prod1-FIT"


    <property name="connectionFactory" ref="wmqConnectionFactory1-Prod1-FIT" />


  <!--JMS components used for Endpoints -->

  <bean id="wmq-qm1-Prod1-FIT" class="org.apache.camel.component.jms.JmsComponent">

    <property name="connectionFactory" ref="cachingWmqConnectionFactory1-Prod1-FIT" />

    <property name="transactionManager" ref="wmqTransactionManager1-Prod1-FIT" />

    <property name="transacted" value="false" />

    <property name="cacheLevelName" value="CACHE_AUTO" />

    <property name="concurrentConsumers" value="${financial.WMQ.DWSub1.Consumers}" />

    <property name="maxConcurrentConsumers" value="${financial.WMQ.DWSub1.MaxConsumers}"

    <property name="maxMessagesPerTask" value="${financial.WMQ.DWSub1.maxMessagesPerTask}"


Thanks and Regards,

Vanshul Chawla

-----Original Message-----
From: mytechnology []
Sent: Tuesday, July 28, 2015 6:05 PM
Subject: RE: JMS MQ performance improvement

Why is it so hard (so far impossible) to find a way of configuring connection pool with IBM
MQ. All the documentation is with websphere MDBs or ActiveMQ and Camel.

Has any body used connection pool with IBM MQ and Camel?


View this message in context:

Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message