org.springframework.integration.core
Interface MessageSource<T>

All Known Implementing Classes:
AbstractInboundRemoteFileSystemSynchronizingMessageSource, AbstractMessageSource, AttributePollingMessageSource, ByteStreamReadingMessageSource, CharacterStreamReadingMessageSource, CorrelatingMessageBarrier, DirectMessageReceivingMessageSource, ExpressionEvaluatingMessageSource, FeedEntryMessageSource, FileReadingMessageSource, FtpInboundRemoteFileSystemSynchronizingMessageSource, JdbcPollingChannelAdapter, JmsDestinationPollingSource, MailReceivingMessageSource, MentionsReceivingMessageSource, MethodInvokingMessageSource, SearchReceivingMessageSource, SftpInboundRemoteFileSystemSynchronizingMessageSource, TimelineReceivingMessageSource

public interface MessageSource<T>

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


Method Summary
 Message<T> receive()
          Retrieve the next available message from this source.
 

Method Detail

receive

Message<T> receive()
Retrieve the next available message from this source. Returns null if no message is available.