spring-projects/spring-integration — pull request #991 by garyrussell (2013-12-06 22:25:53+00:00)
Title: INT-3227 Fix Race Condition for WARN Log

In MessagingTemplate.TemporaryReplyChannel, it was possible
the `clientHasReceived` boolean could be set by the other
thread after normal message receipt, but before the sender
tests it for the purpose of emitting a duplicate reply log
message.

Capture the boolean value of `clientHasReceived` before
counting down the latch.