Announcement Announcement Module
No announcement yet.
replyTimeout in SimpleMessagingGateway and ReplyMessageCorrelator Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • replyTimeout in SimpleMessagingGateway and ReplyMessageCorrelator

    By default in the SimpleMessagingGateway the timeout is -1 and 5secs in the ReplyMessageCorrelator.

    The funny thing is when the gateway calls the ReplyMessageCorrelator the reply timeout is only send in case of >= 0.

    I am using M6. Is this already fixed?

    It took me a while to figure that out since my colleague has a slower machine .

  • #2
    As a workaround I set explicitly a timeout for 1min to the gateway. It seems now that it always wait for 1min even though the message has already been sent to the reply channel. Is that correct?

    Thanks Tai


    • #3
      Have you been able to try this with the latest version?


      • #4
        Just tested it and it seems to work. In case of a receive timeout it gets an immediate response as soon a message is send to the reply channel.

        I wonder what happens in case of a timeout of -1 (default value in the MessageChannelTemplate) and nothing is send to the reply channel? Does it wait for an unlimited time?