Skip to content

Commit f89ca99

Browse files
authored
Reduce log noise for AbstractCorrelatingMH
We use an aggregate handler that uses a group timeout. It's expected that this timeout will be hit frequently. However, this causes a info log message emitted every time. I'd propose to log this message on debug. **Cherry-pick to `6.1.x` & `6.0.x`**
1 parent f819f4b commit f89ca99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-integration-core/src/main/java/org/springframework/integration/aggregator/AbstractCorrelatingMessageHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ protected MessageGroup store(Object correlationKey, Message<?> message) {
863863
}
864864

865865
protected void expireGroup(Object correlationKey, MessageGroup group, Lock lock) {
866-
this.logger.info(() -> "Expiring MessageGroup with correlationKey[" + correlationKey + "]");
866+
this.logger.debug(() -> "Expiring MessageGroup with correlationKey[" + correlationKey + "]");
867867
if (this.sendPartialResultOnExpiry) {
868868
this.logger.debug(() -> "Prematurely releasing partially complete group with key ["
869869
+ correlationKey + "] to: " + getOutputChannel());

0 commit comments

Comments
 (0)