org.springframework.integration.message
Interface PollableSource<T>

All Superinterfaces:
MessageSource<T>
All Known Subinterfaces:
BlockingSource<T>, PollableChannel
All Known Implementing Classes:
AbstractDirectorySource, AbstractPollableChannel, ByteStreamSource, CharacterStreamSource, DefaultErrorChannel, FileSource, FtpSource, JmsSource, MessageExchangeTemplate.TemporaryReturnAddress, MethodInvokingSource, PollingMailSource, PriorityChannel, QueueChannel, RendezvousChannel, ThreadLocalChannel

public interface PollableSource<T>
extends MessageSource<T>

Base interface for any source of Messages that can be polled.

Author:
Mark Fisher

Method Summary
 Message<T> receive()
          Retrieve a message from this source or null if no message is available.
 

Method Detail

receive

Message<T> receive()
Retrieve a message from this source or null if no message is available.