I am using Camel v2.6.0,Spring v2.5.6 on JBoss 4.3.0,Jdk 1.5 to listen to
messages hosted on an IBM MQ. A channel is created on the IBM MQ for this.
My MQ Admin is complaining that 1000's of ping like messages are sent to
this Channel from my application even though there is no real data posted to
the MQ's my application is listening too. Below is my configuration. Please
let me know what is missing here.

<bean id="ibmmq" class="org.apache.camel.component.jms.JmsComponent">
    <property name="configuration" ref="providerJMSConfig" />
    <property name="connectionFactory" ref="ucConnectionFactory" />
</bean>

<bean id="ucConnectionFactory"
class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
    <property name="targetConnectionFactory" ref="mqconfactory"/>
    <property name="username" value="${username}"/>
    <property name="password" value="${password}"/>
 </bean>


<bean id="mqconfactory" class="com.ibm.mq.jms.MQConnectionFactory">
    <property name="transportType">
        <util:constant
static-field="com.ibm.mq.jms.JMSC.MQJMS_CLIENT_NONJMS_MQ" />
    </property>

    <property name="queueManager" value="${queueManager}" />
    <property name="hostName" value="${hostName}" />
    <property name="port" value="${port}" />
    <property name="channel" value="${channel}" /> 

</bean>

<bean id="providerJMSConfig"
class="org.apache.camel.component.jms.JmsConfiguration">
    <property name="requestTimeout" value="80000" />
    <property name="useMessageIDAsCorrelationID" value="true" />
    <property name="disableReplyTo" value="true" />
</bean>

    <route id="routeFromMQToUploadDocumentProcessorSvc" autoStartup="true">
                <from
uri="ibmmq:queue:CCGD.DDCTM.IN?transacted=true&amp;maxConcurrentConsumers=2"
/>
        <process ref="uploadDocumentProcessor"/>
    </route>

    <route id="routeFromMQToSqlUpdateSucess">
        <from
uri="ibmmq:queue:CCGD.DDCTM.IN2?transacted=true&amp;maxConcurrentConsumers=2"
/>
        <process ref="sqlProcessor"/>
        <to uri ="sql:mysql goes here />                            

    </route>





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JMS-Container-sending-1000-s-of-ping-like-messages-in-a-minute-to-IBM-MQ-tp5741547.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to