IMAP idle channel adapter
Defines an event-driven IMAP mail receiving adapter.
Use this adapter when your server supports IMAP IDLE. If not, use an Mail Inbound Channel Adapter instead.
It enables event-driven notifications, no poller is necessary for this adapter. It will send a Message to the specified channel as soon as it receives the notification that new mail is available.
Specifiy a Task Executor when new mail messages should be processed asynchronously.
Error channel
If a (synchronous) downstream exception is thrown and an error channel is specified, the MessagingException
will be sent to this channel. Otherwise, any such exception will simply be logged as a warning by the channel adapter.
Should delete messages
Specify whether mail messages should be deleted after retrieval.
Should mark messages as read
Specify whether mail messages should be marked as read after being retrieved (not supported by all mail servers, e.g. POP3).
User flag
Specify the user flag to mark messages read by the adapter when the mail store does not support the RECENT flag but does support user flags (keywords). This flag is set regardless of the should mark messages as read attribute. It is used by the default search strategy to ignore already processed messages.
Default is spring-integration-mail-adapter
.
Mail filter expression
Allows you to provide a SpEL expression which defines a fine grained filtering criteria for the mail messages to be processed by this adapter.
Max fetch size
Specify the maximum number of mail messages to fetch per receive call.
Mail properties
Reference to a Properties entity that contains mail properties.
Store URI
The URI for the mail store.
Typically looks like the following (the underlined words need to be replaced by the actual values):
(pop3[s]|imap[s])://user:password@host[:port]/INBOX
Note that you can use property placeholders within the URI, for example:
imaps://${username}:${password}@imap.gmail.com/INBOX
Channel
Channel where the generated messages should be sent to.
You can select the nullChannel
here to silently drop the messages.
Required
Id
Name that uniquely identifies this flow component.
Required