Results 1 to 2 of 2

Thread: MessageTimeoutException: failed to receive JMS response within timeout of: 5000ms

  1. #1
    Join Date
    Oct 2010
    Posts
    5

    Default 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
    8)
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •