diff --git a/spring-integration-core/src/main/java/org/springframework/integration/scattergather/ScatterGatherHandler.java b/spring-integration-core/src/main/java/org/springframework/integration/scattergather/ScatterGatherHandler.java index b31b0524ab..1cf87ba13d 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/scattergather/ScatterGatherHandler.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/scattergather/ScatterGatherHandler.java @@ -118,7 +118,7 @@ public class ScatterGatherHandler extends AbstractReplyProducingMessageHandler i else { Assert.isInstanceOf(ChannelInterceptorAware.class, this.gatherChannel, () -> "An injected 'gatherChannel' '" + this.gatherChannel + - "' must be an 'InterceptableChannel' instance."); + "' must be an 'ChannelInterceptorAware' instance."); ((ChannelInterceptorAware) this.gatherChannel) .addInterceptor(0, new ChannelInterceptor() {