|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PollableChannel
Method Summary | |
---|---|
java.util.List<Message<?>> |
clear()
Remove all Messages from this channel. |
java.util.List<Message<?>> |
purge(MessageSelector selector)
Remove any Messages that are not accepted by the provided selector. |
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.core.MessageChannel |
---|
getName, 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 interruptedjava.util.List<Message<?>> clear()
Messages
from this channel.
java.util.List<Message<?>> purge(MessageSelector selector)
Messages
that are not accepted by the provided selector.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |