|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.mail.MailReceivingMessageSource
public class MailReceivingMessageSource
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 Summary | |
---|---|
MailReceivingMessageSource(MailReceiver mailReceiver)
|
Method Summary | |
---|---|
Message<javax.mail.Message> |
receive()
Retrieve the next available message from this source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailReceivingMessageSource(MailReceiver mailReceiver)
Method Detail |
---|
public Message<javax.mail.Message> receive()
MessageSource
null
if no message is available.
receive
in interface MessageSource<javax.mail.Message>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |