Spring Integration

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

All Known Implementing Classes:
AbstractInboundRemoteFileSystemSynchronizingMessageSource, AttributePollingMessageSource, ByteStreamReadingMessageSource, CharacterStreamReadingMessageSource, CorrelatingMessageBarrier, FileReadingMessageSource, FtpInboundRemoteFileSystemSynchronizingMessageSource, JdbcPollingChannelAdapter, JmsDestinationPollingSource, MailReceivingMessageSource, MethodInvokingMessageSource, SftpInboundRemoteFileSystemSynchronizingMessageSource

public interface MessageSource<T>

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

Author:
Mark Fisher

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.


Spring Integration

Copyright © 2010. All Rights Reserved.