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

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

public interface Source<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.