Interface PollableChannel
- All Superinterfaces:
- MessageChannel
A 
MessageChannel from which messages may be actively received through polling.- Since:
- 4.0
- Author:
- Mark Fisher
- 
Field SummaryFields inherited from interface MessageChannelINDEFINITE_TIMEOUT
- 
Method SummaryMethods inherited from interface MessageChannelsend, send
- 
Method Details- 
receive
- 
receiveReceive a message from this channel, blocking until either a message is available or the specified timeout period elapses.- Parameters:
- timeout- the timeout in milliseconds or- MessageChannel.INDEFINITE_TIMEOUT
- Returns:
- the next available Messageornullif the specified timeout period elapses or the message receipt is interrupted
 
 
-