Nov 4th, 2010, 10:13 AM
MessageTimeoutException: failed to receive JMS response within timeout of: 5000ms
I have a spring batch job that has 3 steps. Every step invoking a service using jms. I am using spring integration version 1.0.4.RELEASE. I am attaching configuration for the channel and gateway.
I am getting the following exception randomly with different services:
DEBUG [org.springframework.jms.listener.DefaultMessageLis tenerContainer#0-3][2010-11-04 09:42:55,290] - Truncating long messa
ge before update of StepExecution, original message is: org.springframework.batch.retry.RetryException: Non-skippable excepti
on in recoverer while processing; nested exception is org.springframework.integration.message.MessageTimeoutException: failed
to receive JMS response within timeout of: 5000ms
at org.springframework.batch.core.step.item.FaultTole rantChunkProcessor$2.recover(FaultTolerantChunkPro cessor.java:27
Nov 8th, 2010, 09:48 AM
I can't tell from the partial stack trace, but this seems like a timeout in Spring Integration or Spring JMS, not Spring Batch. Can you provide some more detail, or try a post in the integration forum?