diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/gateway/AbstractMessagingGateway.java b/org.springframework.integration/src/main/java/org/springframework/integration/gateway/AbstractMessagingGateway.java index c8b6885389..4052ffee08 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/gateway/AbstractMessagingGateway.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/gateway/AbstractMessagingGateway.java @@ -125,7 +125,7 @@ public abstract class AbstractMessagingGateway implements MessagingGateway, Mess public Object receive() { Assert.state(this.replyChannel != null && (this.replyChannel instanceof PollableChannel), - "no-arg receive is not supported, because no pollable reply channel has been configured"); + "receive is not supported, because no pollable reply channel has been configured"); Message message = this.channelTemplate.receive((PollableChannel) this.replyChannel); return this.fromMessage(message); }