From 02564e61b3f54a1d54e4de92f7d67d9ed9601815 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 19 Jun 2019 17:10:32 -0400 Subject: [PATCH] GH-2967: Fix backport assert message --- .../integration/scattergather/ScatterGatherHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {