INT-428
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user