Class ImapMailInboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
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:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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 org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpec
externalReceiver, receiver
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
protected
ImapMailInboundChannelAdapterSpec
(ImapMailReceiver imapMailReceiver) -
Method Summary
Modifier and TypeMethodDescriptionsearchTermStrategy
(SearchTermStrategy searchTermStrategy) ASearchTermStrategy
to use.shouldMarkMessagesAsRead
(boolean shouldMarkMessagesAsRead) A flag to determine if message should be marked as read.Methods inherited from class org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpec
assertReceiver, autoCloseFolder, doGet, embeddedPartsAsBytes, getComponentsToRegister, headerMapper, javaMailAuthenticator, javaMailProperties, javaMailProperties, maxFetchSize, selector, selectorExpression, selectorExpression, session, shouldDeleteMessages, simpleContent, userFlag
Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeaders
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
ImapMailInboundChannelAdapterSpec
protected ImapMailInboundChannelAdapterSpec() -
ImapMailInboundChannelAdapterSpec
-
ImapMailInboundChannelAdapterSpec
-
-
Method Details
-
searchTermStrategy
ASearchTermStrategy
to 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:
-