Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-361

Default Time Out in ReplyMessageCorrelator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 M6
    • Fix Version/s: 1.0 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      In ReplyMessageCorrelator we have a defaultTimeout = 5000, so when doing a Request/Reply using the IimpleMessagingGateway sendAndReceiveWithReplyMessageCorrelator with a replyTimeOut = -1, the getReply should be invoked without a timeout, but the method actually invoked uses the default value of 5000 instead of -1, and in the end, in RetrievalBlockingMessageStore it makes a poll() instead of a take() on the queue.

      Also see http://forum.springframework.org/showthread.php?t=59814

        Issue Links

          Activity

          Hide
          mark.fisher Mark Fisher added a comment - - edited

          The ReplyMessageCorrelator now simply passes the Message to the 'returnAddress' header that is provided in the channelTemplate's sendAndReceive() method, and the timeout is controlled by the channelTemplate.

          Show
          mark.fisher Mark Fisher added a comment - - edited The ReplyMessageCorrelator now simply passes the Message to the 'returnAddress' header that is provided in the channelTemplate's sendAndReceive() method, and the timeout is controlled by the channelTemplate.

            People

            • Assignee:
              mark.fisher Mark Fisher
              Reporter:
              amsmota Antonio Mota
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: