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 Summary
Fields inherited from class org.springframework.integration.mail.dsl.MailInboundChannelAdapterSpec
externalReceiver, receiver
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
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, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
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:
-