public interface MessageSource<T>
Messages
that can be polled.Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<T> |
receive()
Retrieve the next available message from this source.
|
org.springframework.messaging.Message<T> receive()
null
if no message is available.