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:
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 Summary
Fields inherited from class MailInboundChannelAdapterSpec
externalReceiver, receiverFields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface 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 MessageSourceSpec
messageHeadersMethods inherited from class 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 FactoryBean
isSingletonMethods inherited from interface 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:
-