GH-2967: Fix backport assert message
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user