This commit is contained in:
Mark Fisher
2008-10-16 19:47:39 +00:00
parent fbd47bea9c
commit 2cf1d7629e

View File

@@ -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);
}