camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed <ssigabud...@qatarairways.com.qa>
Subject TimeOut - ExchangeTimedOutException
Date Mon, 09 Dec 2013 17:42:37 GMT
Hi,

I created a dual drop for IBMMQ Q's, getting a msg from one Q and dropping
into two Q's.  I am getting timeout exception with the below configuration,
can someone let me know where is it wrong ?

*Spring DSL*

 <bean id="ibmmq.q" class="org.apache.camel.component.jms.JmsComponent">
                <property name="configuration">
                        <bean
class="org.apache.camel.component.jms.JmsConfiguration">
                                <property name="connectionFactory">
                                        <bean
class="com.ibm.mq.jms.MQQueueConnectionFactory">
                                                <property
name="transportType" value="1" />
                                                <property name="hostName"
value="172.17.19.131" />
                                                <property name="port"
value="1416" />
                                                <property
name="queueManager" value="ATTLCA03" />
                                                <property name="channel"
value="MIX.DDROP.CHANNEL" />
                                        </bean>
                                </property>
                        </bean>
                </property>
        </bean>


 <from uri="ibmmq.q:SPWREQ.AT.PACS.MQ2.DDROP" />
	<process ref="loggingProcessor" />
	<to uri="ibmmq.q:D1" />
	<to uri="ibmmq.q:D2" />
  </route>


*Exception*

2013-12-05 14:21:21,443 [Camel (camel-1) thread #6 -
JmsConsumer[FEZWUQ.QR.DCS.IN.PDT]] WARN 
org.apache.camel.component.jms.EndpointMessageListener  - Execution of JMS
message listener failed. Caused by: [org.apache.camel.RuntimeCamelException
- org.apache.camel.ExchangeTimedOutException: The OUT message was not
received within: 20000 millis due reply message with correlationID:
ID:373034344443444200000000000000000000000000000000 not received.
Exchange[JmsMessage[JmsMessageID:
ID:414d512047575431322e4254312020205290922124acc222]]]
org.apache.camel.RuntimeCamelException:
org.apache.camel.ExchangeTimedOutException: The OUT message was not received
within: 20000 millis due reply message with correlationID:
ID:373034344443444200000000000000000000000000000000 not received.
Exchange[JmsMessage[JmsMessageID:
ID:414d512047575431322e4254312020205290922124acc222]]
        at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
~[camel-core-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:187)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:108)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:561)
~[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:499)
~[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
~[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1059)
[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1051)
[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:948)
[spring-jms-3.1.0.RELEASE.jar:3.1.0.RELEASE]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[na:1.7.0_10]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[na:1.7.0_10]
        at java.lang.Thread.run(Thread.java:722) [na:1.7.0_10]
Caused by: org.apache.camel.ExchangeTimedOutException: The OUT message was
not received within: 20000 millis due reply message with correlationID:
ID:373034344443444200000000000000000000000000000000 not received.
Exchange[JmsMessage[JmsMessageID:
ID:414d512047575431322e4254312020205290922124acc222]]
        at
org.apache.camel.component.jms.reply.ReplyManagerSupport.processReply(ReplyManagerSupport.java:133)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.TemporaryQueueReplyHandler.onTimeout(TemporaryQueueReplyHandler.java:61)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.CorrelationTimeoutMap.onEviction(CorrelationTimeoutMap.java:53)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.CorrelationTimeoutMap.onEviction(CorrelationTimeoutMap.java:30)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.support.DefaultTimeoutMap.purge(DefaultTimeoutMap.java:203)
~[camel-core-2.10.0.jar:2.10.0]
        at
org.apache.camel.support.DefaultTimeoutMap.run(DefaultTimeoutMap.java:159)
~[camel-core-2.10.0.jar:2.10.0]
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
~[na:1.7.0_10]
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
~[na:1.7.0_10]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
~[na:1.7.0_10]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
~[na:1.7.0_10]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
~[na:1.7.0_10]
        ... 3 common frames omitted
2013-12-05 14:21:21,445 [Camel (camel-1) thread #7 -
JmsReplyManagerTimeoutChecker[D1]] ERROR
org.apache.camel.processor.DefaultErrorHandler  - Failed delivery for
(MessageId: ID:414d512047575431322e425431202020526e301729c134dc on
ExchangeId: ID-dohqdmqm01-qr-qrgrp-local-57053-1386242258517-0-53).
Exhausted after delivery attempt: 1 caught:
org.apache.camel.ExchangeTimedOutException: The OUT message was not received
within: 20000 millis due reply message with correlationID:
ID:313034344545303900000000000000000000000000000000 not received.
Exchange[JmsMessage[JmsMessageID:
ID:414d512047575431322e425431202020526e301729c134dc]]
org.apache.camel.ExchangeTimedOutException: The OUT message was not received
within: 20000 millis due reply message with correlationID:
ID:313034344545303900000000000000000000000000000000 not received.
Exchange[JmsMessage[JmsMessageID:
ID:414d512047575431322e425431202020526e301729c134dc]]
        at
org.apache.camel.component.jms.reply.ReplyManagerSupport.processReply(ReplyManagerSupport.java:133)
~[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.TemporaryQueueReplyHandler.onTimeout(TemporaryQueueReplyHandler.java:61)
[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.CorrelationTimeoutMap.onEviction(CorrelationTimeoutMap.java:53)
[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.component.jms.reply.CorrelationTimeoutMap.onEviction(CorrelationTimeoutMap.java:30)
[camel-jms-2.10.0.jar:2.10.0]
        at
org.apache.camel.support.DefaultTimeoutMap.purge(DefaultTimeoutMap.java:203)
[camel-core-2.10.0.jar:2.10.0]
        at
org.apache.camel.support.DefaultTimeoutMap.run(DefaultTimeoutMap.java:159)
[camel-core-2.10.0.jar:2.10.0]
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[na:1.7.0_10]
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
[na:1.7.0_10]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
[na:1.7.0_10]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
[na:1.7.0_10]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[na:1.7.0_10]

Thanks & Regards
Jawahar



--
View this message in context: http://camel.465427.n5.nabble.com/TimeOut-ExchangeTimedOutException-tp5744516.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message