Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-9705: AbstractReplyProducingMessageHandler: check for logging enabled
Fixes: #9705 Issue link: #9705 Currently when any class that implements `AbstractReplyProducingMessageHandler` doesn't produce a reply it will log the message, even if no reply is required. The message should only be logged if `isLoggingEnabled()` returns true as a handler that doesn't require a reply may be a normal operation that is expected, and if we've set `loggingEnabled` to false it shouldn't log the message. * Prevent logging when no reply is provided for an `AbstractReplyProducingMessageHandler` if logging is disabled (cherry picked from commit 7fc104a)
- Loading branch information