org.springframework.integration.adapter.mail.monitor
Class PollingMonitoringStrategy

java.lang.Object
  extended by org.springframework.integration.adapter.mail.monitor.AbstractMonitoringStrategy
      extended by org.springframework.integration.adapter.mail.monitor.PollingMonitoringStrategy
All Implemented Interfaces:
MonitoringStrategy
Direct Known Subclasses:
Pop3PollingMonitoringStrategy

public class PollingMonitoringStrategy
extends AbstractMonitoringStrategy

Implementation of the MonitoringStrategy interface that uses a simple polling mechanism. Defines a polling interval property which defines the interval in between message polls.

Note that this implementation is not suitable for use with POP3 servers. Use the Pop3PollingMonitoringStrategy instead.

Author:
Arjen Poutsma

Field Summary
 
Fields inherited from class org.springframework.integration.adapter.mail.monitor.AbstractMonitoringStrategy
logger
 
Constructor Summary
PollingMonitoringStrategy()
           
 
Method Summary
 
Methods inherited from class org.springframework.integration.adapter.mail.monitor.AbstractMonitoringStrategy
deleteMessages, fetchMessages, getFolderOpenMode, receive, searchForNewMessages, setDeleteMessages, setMaxMessagePerDownload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollingMonitoringStrategy

public PollingMonitoringStrategy()