camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nader <na...@salas.dk>
Subject Re: Camel route does not reconnect
Date Fri, 24 Feb 2017 14:05:30 GMT
Sure!

After these messages, the last message "The OUT message was not receive ..."
get repeated every 30 seconds.

Exchange[ID-the-Host-34071-1487843214861-0-829]
	at
country.firm.integration.route.processor.CheckExceptionProcessor.process(CheckExceptionProcessor.java:55)
	at
org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	...
	...
	...
[2017-02-24 11:09:27,000] [WARN ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[org.apache.camel.spring.spi.TransactionErrorHandler] Transaction rollback
(0x75ea7aa3) redelivered(false) for 
(MessageId: ID:theRecieverHost-42190-1487661125797-23:1:-1:1:208 on
ExchangeId: ID-the-Host-34071-1487843214861-0-829) 
caught: country.firm.integration.ik.common.error.RollbackException: Original
exception:java.io.IOException, message:
Cannot write body: byte[] using session: (0x000001A0: nio socket, client,
0.0.0.0/0.0.0.0:53340 => null). 
Exchange[ID-the-Host-34071-1487843214861-0-829]

[2017-02-24 11:09:27,000] [WARN ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[org.apache.camel.spring.spi.TransactionErrorHandler] Transaction rollback
(0x75ea7aa3) redelivered(false) for 
(MessageId: ID:theRecieverHost-42190-1487661125797-23:1:-1:1:208 on
ExchangeId: ID-the-Host-34071-1487843214861-0-829) 
caught: country.firm.integration.ik.common.error.RollbackException: Original
exception:java.io.IOException, message:
Cannot write body: byte[] using session: (0x000001A0: nio socket, client,
0.0.0.0/0.0.0.0:53340 => null). 
Exchange[ID-the-Host-34071-1487843214861-0-829]

[2017-02-24 11:09:27,000] [INFO ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[country.firm.integration.ik.common.processor.InitProcessor$CompletionLogger]
[theHost] 
[theApplication/direct://returnResponseFromIncomingEndpoint]
[country.firm.integration.ik.common.processor.InitProcessor$CompletionLogger:$Id: 
InitProcessor.java 33536 2015-06-16 08:41:21Z user1 $]
[Cb9df515-5a5c-431b-a077-874058119aa1] 
[SYSTEM] [End:requestId=[Cb9df515-5a5c-431b-a077-874058119aa1]
Succes=[false] externalTimeMs=[10079] timeMs=[10249]]
[2017-02-24 11:09:27,001] [WARN ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[org.apache.camel.component.jms.EndpointMessageListener] Execution of JMS
message listener failed. Caused by: 
[org.apache.camel.RuntimeCamelException -
country.firm.integration.ik.common.error.RollbackException: 
Original exception:java.io.IOException, message:
Cannot write body: byte[] using session: (0x000001A0: nio socket, client,
0.0.0.0/0.0.0.0:53340 => null). 
Exchange[ID-the-Host-34071-1487843214861-0-829]]
org.apache.camel.RuntimeCamelException:
country.firm.integration.ik.common.error.RollbackException: 
Original exception:java.io.IOException, message:Cannot write body: byte[]
using session: 
(0x000001A0: nio socket, client, 0.0.0.0/0.0.0.0:53340 => null).
Exchange[ID-the-Host-34071-1487843214861-0-829]
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1690)
	at
org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:190)
	at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
	at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136)
	...
	...
	...

Caused by: country.firm.integration.ik.common.error.RollbackException:
Original exception:java.io.IOException, message:Cannot write body: byte[]
using session: (0x000001A0: nio socket, client, 0.0.0.0/0.0.0.0:53340 =>
null). Exchange[ID-the-Host-34071-1487843214861-0-829]
	at
country.firm.integration.route.processor.CheckExceptionProcessor.process(CheckExceptionProcessor.java:55)
	at
org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
	...
	...
	...
[2017-02-24 11:09:27,050] [INFO ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[AUDIT_LOGGER] [theHost]
[theApplication/direct://setupIncomingEndpointHeadersAndProperties] 
[country.firm.integration.ik.common.processor.InitProcessor:$Id:
InitProcessor.java 33536 2015-06-16 08:41:21Z user1 $] 
[f996381c-ee5d-4777-9c3c-b7f53dd4d862] [AUDIT]
[theApplication/direct://setupIncomingEndpointHeadersAndProperties] [null]
[null] 
[NORMAL] [] [] [Begin:requestId=[f996381c-ee5d-4777-9c3c-b7f53dd4d862]]

[2017-02-24 11:09:27,050] [WARN ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[country.firm.integration.route.bean.SleepAfterRollbackBean] [theHost]
[theApplication] 
[country.firm.integration.route.bean.SleepAfterRollbackBean:$Id:
SleepAfterRollbackBean.java 40647 2016-03-03 15:20:41Z user26 $] 
[null] [WARNING] [] [IncomingEndpoint: SenderApp sleeping 59950 ms before
handling the message] [] []

[2017-02-24 11:10:57,068] [INFO ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[country.firm.integration.route.bean.DispatcherBean] [theHost]
[theApplication/direct://sendMessage] 
[country.firm.integration.route.bean.DispatcherBean:$Id: DispatcherBean.java
46461 2016-08-25 12:22:51Z user2 $] 
[f996381c-ee5d-4777-9c3c-b7f53dd4d862] [EXECTIME] [CONSUMER] [] []
[tcp://SPCINC02.sp.local:
12313?sync=true&codec=#hl7codec&disconnect=true&cachedAddress=false] [30067]
[] [ID-the-Host-34071-1487843214861-0-835]
[2017-02-24 11:10:57,079] [ERROR] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[country.firm.integration.route.processor.ExceptionProcessor] [theHost]
[theApplication/direct://sendError] 
[country.firm.integration.route.processor.ExceptionProcessor:$Id:
ExceptionProcessor.java 43616 2016-05-13 09:27:33Z user26 $] 
[f996381c-ee5d-4777-9c3c-b7f53dd4d862] [ERROR]
[org.apache.camel.ExchangeTimedOutException] 
[The OUT message was not received within: 
30000 millis. Exchange[ID-the-Host-34071-1487843214861-0-835]] 
[org.apache.camel.ExchangeTimedOutException: The OUT message was not
received within: 
30000 millis. Exchange[ID-the-Host-34071-1487843214861-0-835]
	at
org.apache.camel.component.mina2.Mina2Producer.doProcess(Mina2Producer.java:173)
	at
org.apache.camel.component.mina2.Mina2Producer.process(Mina2Producer.java:116)
	at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
	...
	...
	...
[2017-02-24 11:10:57,082] [INFO ] [Camel (camelContext-theApplication)
thread #0 - JmsConsumer[theQueue]] 
[org.apache.camel.processor.DefaultErrorHandler] 
Failed delivery for (MessageId:
ID:theRecieverHost-42190-1487661125797-23:1:-1:1:208 on ExchangeId: 
ID-the-Host-34071-1487843214861-0-835). Exhausted after delivery attempt: 1
caught: 
country.firm.integration.ik.common.error.RollbackException: Original
exception:org.apache.camel.ExchangeTimedOutException, 
message:The OUT message was not received within: 30000 millis.
Exchange[ID-the-Host-34071-1487843214861-0-835]. 
Processed by failure processor:
FatalFallbackErrorHandler[Pipeline[[Channel[DelegateSync[RollbackExceptionProcessor]], 
Channel[DelegateSync[FinallyProcessor]]]]]
....
....



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-route-does-not-reconnect-tp5794411p5794430.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message