Class ImapMailInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
 
org.springframework.integration.dsl.MessageSourceSpec<S,MailReceivingMessageSource>
 
org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpec<ImapMailInboundChannelAdapterSpec,ImapMailReceiver>
 
org.springframework.integration.mail.dsl.ImapMailInboundChannelAdapterSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<MailReceivingMessageSource>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class ImapMailInboundChannelAdapterSpec
extends MailInboundChannelAdapterSpec<ImapMailInboundChannelAdapterSpec,ImapMailReceiver> 
A 
MailInboundChannelAdapterSpec for IMAP.- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpecexternalReceiver, receiverFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedprotectedImapMailInboundChannelAdapterSpec(ImapMailReceiver imapMailReceiver) 
- 
Method SummaryModifier and TypeMethodDescriptionsearchTermStrategy(SearchTermStrategy searchTermStrategy) ASearchTermStrategyto use.shouldMarkMessagesAsRead(boolean shouldMarkMessagesAsRead) A flag to determine if message should be marked as read.Methods inherited from class org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpecassertReceiver, autoCloseFolder, doGet, embeddedPartsAsBytes, getComponentsToRegister, headerMapper, javaMailAuthenticator, javaMailProperties, javaMailProperties, maxFetchSize, selector, selectorExpression, selectorExpression, session, shouldDeleteMessages, simpleContent, userFlagMethods inherited from class org.springframework.integration.dsl.MessageSourceSpecmessageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
ImapMailInboundChannelAdapterSpecprotected ImapMailInboundChannelAdapterSpec()
- 
ImapMailInboundChannelAdapterSpec
- 
ImapMailInboundChannelAdapterSpec
 
- 
- 
Method Details- 
searchTermStrategyASearchTermStrategyto use.- Parameters:
- searchTermStrategy- the searchTermStrategy.
- Returns:
- the spec.
- See Also:
 
- 
shouldMarkMessagesAsReadA flag to determine if message should be marked as read.- Parameters:
- shouldMarkMessagesAsRead- the shouldMarkMessagesAsRead.
- Returns:
- the spec.
- See Also:
 
 
-