|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PollableChannel
Interface for Message Channels from which Messages may be actively received through polling.
Method Summary | |
---|---|
Message<?> |
receive()
Receive a message from this channel, blocking indefinitely if necessary. |
Message<?> |
receive(long timeout)
Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses. |
Methods inherited from interface org.springframework.integration.MessageChannel |
---|
send, send |
Method Detail |
---|
Message<?> receive()
Message
or null
if interruptedMessage<?> receive(long timeout)
timeout
- the timeout in milliseconds
Message
or null
if the
specified timeout period elapses or the message reception is interrupted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |