Announcement Announcement Module
Collapse
No announcement yet.
replyTimeout in SimpleMessagingGateway and ReplyMessageCorrelator Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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

    Comment


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

      Comment


      • #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?

        Tai

        Comment

        Working...
        X