Class ImapMailInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<ImapMailInboundChannelAdapterSpec, MailReceivingMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<ImapMailInboundChannelAdapterSpec, MailReceivingMessageSource>
org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpec<ImapMailInboundChannelAdapterSpec, ImapMailReceiver>
org.springframework.integration.mail.dsl.ImapMailInboundChannelAdapterSpec
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<MailReceivingMessageSource>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.dsl.ComponentsRegistration
public class ImapMailInboundChannelAdapterSpec
extends MailInboundChannelAdapterSpec<ImapMailInboundChannelAdapterSpec, ImapMailReceiver>
A
MailInboundChannelAdapterSpec for IMAP.- Since:
- 5.0
-
Field Summary
Fields inherited from class MailInboundChannelAdapterSpec
externalReceiver, receiverFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedImapMailInboundChannelAdapterSpec(ImapMailReceiver imapMailReceiver) -
Method Summary
Modifier and TypeMethodDescriptionsearchTermStrategy(SearchTermStrategy searchTermStrategy) ASearchTermStrategyto use.shouldMarkMessagesAsRead(boolean shouldMarkMessagesAsRead) A flag to determine if message should be marked as read.Methods inherited from class MailInboundChannelAdapterSpec
assertReceiver, autoCloseFolder, doGet, embeddedPartsAsBytes, flaggedAsFallback, getComponentsToRegister, headerMapper, javaMailAuthenticator, javaMailProperties, javaMailProperties, maxFetchSize, selector, selectorExpression, selectorExpression, session, shouldDeleteMessages, simpleContent, userFlagMethods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
ImapMailInboundChannelAdapterSpec
protected ImapMailInboundChannelAdapterSpec() -
ImapMailInboundChannelAdapterSpec
-
ImapMailInboundChannelAdapterSpec
-
-
Method Details
-
searchTermStrategy
ASearchTermStrategyto use.- Parameters:
searchTermStrategy- the searchTermStrategy.- Returns:
- the spec.
- See Also:
-
shouldMarkMessagesAsRead
A flag to determine if message should be marked as read.- Parameters:
shouldMarkMessagesAsRead- the shouldMarkMessagesAsRead.- Returns:
- the spec.
- See Also:
-