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

All Known Subinterfaces:
BlockingSource<T>, MessageChannel
All Known Implementing Classes:
AbstractDirectorySource, AbstractMessageChannel, ByteStreamSource, CharacterStreamSource, DefaultErrorChannel, DirectChannel, EndpointTrigger.EndpointPollerMessageSource, FileSource, FtpSource, JmsSource, MethodInvokingSource, NullChannel, PriorityChannel, PublishSubscribeChannel, QueueChannel, RendezvousChannel, RequestReplyTemplate.ReplyHandlingChannelAdapter, ThreadLocalChannel

public interface MessageSource<T>

Base interface for any source of Messages.

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.