Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessagingTemplate: Emit WARN Log Message When Late Replies are Sent [INT-3004] #6979

spring-operator opened this issue May 3, 2013 · 2 comments


Copy link

spring-operator commented May 3, 2013

Gary Russell opened INT-3004 and commented

Currently 'late', or 'extra' replies in sendAndReceive are silently dropped.

There are two categories of late replies:

  • the sender already timed out on the receive
  • the sender caught an exception and will never execute receive()

In the second case the thread might have exited sendAndReceive or it might be waiting on a receive() in a new replyChannel after sending to the error channel.

In addition, 'extra' replies are simply ignored (if the sender already received a reply).

In the referenced forum post, the 'extra' reply received after the gateway had already processed an ErrorMessage was just ignored because the result was sent to the original reply channel.

Add WARN log entries when any of these conditions arise, to assist in debugging these situations.

Reference URL:

Issue Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants