public class MailReceivingMessageSource
extends java.lang.Object
implements org.springframework.integration.core.MessageSource<javax.mail.Message>
MessageSource implementation that delegates to a
MailReceiver to poll a mailbox. Each poll of the mailbox may
return more than one message which will then be stored in a queue.| Constructor and Description |
|---|
MailReceivingMessageSource(MailReceiver mailReceiver) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.Message<javax.mail.Message> |
receive() |
public MailReceivingMessageSource(MailReceiver mailReceiver)