Uses of Class
org.springframework.integration.mail.dsl.ImapIdleChannelAdapterSpec
Packages that use ImapIdleChannelAdapterSpec
Package
Description
Provides Mail Components for the Java DSL.
-
Uses of ImapIdleChannelAdapterSpec in org.springframework.integration.mail.dsl
Methods in org.springframework.integration.mail.dsl that return ImapIdleChannelAdapterSpecModifier and TypeMethodDescriptionImapIdleChannelAdapterSpec.adviceChain(Advice... adviceChain) Configure a chain ofAdviceobjects for message delivery, applied to the downstream flow.ImapIdleChannelAdapterSpec.autoCloseFolder(boolean autoCloseFolder) When configured tofalse, the folder is not closed automatically after a fetch.ImapIdleChannelAdapterSpec.cancelIdleInterval(long interval) How often to recycle the idle task (in case of a silently dropped connection).ImapIdleChannelAdapterSpec.embeddedPartsAsBytes(boolean embeddedPartsAsBytes) ImapIdleChannelAdapterSpec.headerMapper(HeaderMapper<MimeMessage> headerMapper) Set the header mapper; if a header mapper is not provided, the message payload is aMimeMessage, when provided, the headers are mapped and the payload is theMimeMessagecontent.static ImapIdleChannelAdapterSpecMail.imapIdleAdapter()AnImapIdleChannelAdapterSpecfactory using a defaultImapMailReceiver.static ImapIdleChannelAdapterSpecMail.imapIdleAdapter(String url) AImapIdleChannelAdapterSpecfactory based on the provided url.static ImapIdleChannelAdapterSpecMail.imapIdleAdapter(ImapMailReceiver imapMailReceiver) AnImapIdleChannelAdapterSpecfactory based on the providedImapMailReceiver.ImapIdleChannelAdapterSpec.javaMailAuthenticator(Authenticator javaMailAuthenticator) ImapIdleChannelAdapterSpec.javaMailProperties(Consumer<PropertiesBuilder> configurer) Configure thejavaMailPropertiesby invoking aConsumercallback which is invoked with aPropertiesBuilder.ImapIdleChannelAdapterSpec.javaMailProperties(Properties javaMailProperties) ImapIdleChannelAdapterSpec.maxFetchSize(int maxFetchSize) ImapIdleChannelAdapterSpec.reconnectDelay(long reconnectDelay) The time between connection attempts in milliseconds (default 10 seconds).ImapIdleChannelAdapterSpec.searchTermStrategy(SearchTermStrategy searchTermStrategy) ImapIdleChannelAdapterSpec.selector(Function<MimeMessage, Boolean> selectorFunction) Configure aFunctionto select messages.ImapIdleChannelAdapterSpec.selectorExpression(String selectorExpression) Configure a SpEL expression to select messages.ImapIdleChannelAdapterSpec.selectorExpression(Expression selectorExpression) Configure anExpressionto select messages.ImapIdleChannelAdapterSpec.sendingTaskExecutor(Executor sendingTaskExecutor) Deprecated, for removal: This API element is subject to removal in a future version.since 6.1 in favor of async hands-off downstream in the flow, e.g.A Java MailSessionto use.ImapIdleChannelAdapterSpec.shouldDeleteMessages(boolean shouldDeleteMessages) ImapIdleChannelAdapterSpec.shouldMarkMessagesAsRead(boolean shouldMarkMessagesAsRead) ImapIdleChannelAdapterSpec.shouldReconnectAutomatically(boolean shouldReconnectAutomatically) ImapIdleChannelAdapterSpec.simpleContent(boolean simpleContent) Determine how the content is rendered.ImapIdleChannelAdapterSpec.transactional()Specify aTransactionInterceptorAdvicewith defaultPlatformTransactionManagerandDefaultTransactionAttributefor the downstream flow.ImapIdleChannelAdapterSpec.transactional(TransactionInterceptor transactionInterceptor) Specify aTransactionInterceptorAdvicefor the downstream flow.ImapIdleChannelAdapterSpec.transactional(TransactionManager transactionManager) Specify aTransactionInterceptorAdvicewith the providedTransactionManagerand defaultDefaultTransactionAttributefor the downstream flow.ImapIdleChannelAdapterSpec.transactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory) Configure aTransactionSynchronizationFactory.Set the name of the flag to use to flag messages when the server does not support \Recent but supports user flags; default "spring-integration-mail-adapter".