diff --git a/spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java b/spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java index 0bf1c9f91c..0af35ad0dc 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java @@ -154,7 +154,7 @@ public abstract class AbstractReplyProducingMessageHandler extends AbstractMessa throw new ReplyRequiredException(message, "No reply produced by handler '" + getComponentName() + "', and its 'requiresReply' property is set to true."); } - else if (!isAsync()) { + else if (!isAsync() && isLoggingEnabled()) { logger.debug(LogMessage.format("handler '%s' produced no reply for request Message: %s", this, message)); } }