MessageChannel from which messages may be actively received through polling.
| Modifier and Type | Method and Description |
|---|---|
| public Message | |
| public Message | Returns: the next availableMessage or null if the specified timeout
period elapses or the message reception is interruptedthe timeout in milliseconds or timeout)MessageChannel#INDEFINITE_TIMEOUT.Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses. |
| receive | back to summary |
|---|---|
| public Message Receive a message from this channel, blocking indefinitely if necessary. | |
| receive | back to summary |
|---|---|
| public Message Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses.
| |