public static interface ImapComponentBuilderFactory.ImapComponentBuilder extends ComponentBuilder<org.apache.camel.component.mail.MailComponent>
| Modifier and Type | Method and Description |
|---|---|
default ImapComponentBuilderFactory.ImapComponentBuilder |
additionalJavaMailProperties(Properties additionalJavaMailProperties)
Sets additional java mail properties, that will append/override any
default properties that is set based on all the other options.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
alternativeBodyHeader(String alternativeBodyHeader)
Specifies the key to an IN message header that contains an
alternative email body.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
attachmentsContentTransferEncodingResolver(org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver attachmentsContentTransferEncodingResolver)
To use a custom AttachmentsContentTransferEncodingResolver to resolve
what content-type-encoding to use for attachments.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
authenticator(org.apache.camel.component.mail.MailAuthenticator authenticator)
The authenticator for login.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
bcc(String bcc)
Sets the BCC email address.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
cc(String cc)
Sets the CC email address.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
closeFolder(boolean closeFolder)
Whether the consumer should close the folder after polling.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
configuration(org.apache.camel.component.mail.MailConfiguration configuration)
Sets the Mail configuration.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
connectionTimeout(int connectionTimeout)
The connection timeout in milliseconds.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
contentType(String contentType)
The mail message content type.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
contentTypeResolver(org.apache.camel.component.mail.ContentTypeResolver contentTypeResolver)
Resolver to determine Content-Type for file attachments.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
copyTo(String copyTo)
After processing a mail message, it can be copied to a mail folder
with the given name.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
debugMode(boolean debugMode)
Enable debug mode on the underlying mail framework.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
delete(boolean delete)
Deletes the messages after they have been processed.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
disconnect(boolean disconnect)
Whether the consumer should disconnect after polling.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
fetchSize(int fetchSize)
Sets the maximum number of messages to consume during a poll.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
folderName(String folderName)
The folder to poll.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
from(String from)
The from email address.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
handleFailedMessage(boolean handleFailedMessage)
If the mail consumer cannot retrieve a given mail message, then this
option allows to handle the caused exception by the consumer's error
handler.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
header to and from Camel message.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
ignoreUnsupportedCharset(boolean ignoreUnsupportedCharset)
Option to let Camel ignore unsupported charset in the local JVM when
sending mails.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
ignoreUriScheme(boolean ignoreUriScheme)
Option to let Camel ignore unsupported charset in the local JVM when
sending mails.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
javaMailProperties(Properties javaMailProperties)
Sets the java mail options.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
javaMailSender(org.apache.camel.component.mail.JavaMailSender javaMailSender)
To use a custom org.apache.camel.component.mail.JavaMailSender for
sending emails.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
mapMailMessage(boolean mapMailMessage)
Specifies whether Camel should map the received mail message to Camel
body/headers/attachments.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
mimeDecodeHeaders(boolean mimeDecodeHeaders)
This option enables transparent MIME decoding and unfolding for mail
headers.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
moveTo(String moveTo)
After processing a mail message, it can be moved to a mail folder
with the given name.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
password(String password)
The password for login.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
peek(boolean peek)
Will mark the javax.mail.Message as peeked before processing the mail
message.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
replyTo(String replyTo)
The Reply-To recipients (the receivers of the response mail).
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
session(javax.mail.Session session)
Specifies the mail session that camel should use for all mail
interactions.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
skipFailedMessage(boolean skipFailedMessage)
If the mail consumer cannot retrieve a given mail message, then this
option allows to skip the message and move on to retrieve the next
mail message.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
subject(String subject)
The Subject of the message being sent.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
to(String to)
Sets the To email address.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
unseen(boolean unseen)
Whether to limit by unseen mails only.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
useInlineAttachments(boolean useInlineAttachments)
Whether to use disposition inline or attachment.
|
default ImapComponentBuilderFactory.ImapComponentBuilder |
username(String username)
The username for login.
|
build, build, doSetProperty, registerdefault ImapComponentBuilderFactory.ImapComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder closeFolder(boolean closeFolder)
closeFolder - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder copyTo(String copyTo)
copyTo - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder delete(boolean delete)
delete - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder disconnect(boolean disconnect)
disconnect - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder handleFailedMessage(boolean handleFailedMessage)
handleFailedMessage - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder mimeDecodeHeaders(boolean mimeDecodeHeaders)
mimeDecodeHeaders - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder moveTo(String moveTo)
moveTo - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder peek(boolean peek)
peek - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder skipFailedMessage(boolean skipFailedMessage)
skipFailedMessage - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder unseen(boolean unseen)
unseen - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder fetchSize(int fetchSize)
fetchSize - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder folderName(String folderName)
folderName - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder mapMailMessage(boolean mapMailMessage)
mapMailMessage - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder bcc(String bcc)
bcc - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder cc(String cc)
cc - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder from(String from)
from - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder replyTo(String replyTo)
replyTo - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder subject(String subject)
subject - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder to(String to)
to - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder javaMailSender(org.apache.camel.component.mail.JavaMailSender javaMailSender)
javaMailSender - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder additionalJavaMailProperties(Properties additionalJavaMailProperties)
additionalJavaMailProperties - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder alternativeBodyHeader(String alternativeBodyHeader)
alternativeBodyHeader - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder attachmentsContentTransferEncodingResolver(org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver attachmentsContentTransferEncodingResolver)
attachmentsContentTransferEncodingResolver - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder authenticator(org.apache.camel.component.mail.MailAuthenticator authenticator)
authenticator - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder configuration(org.apache.camel.component.mail.MailConfiguration configuration)
configuration - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder connectionTimeout(int connectionTimeout)
connectionTimeout - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder contentType(String contentType)
contentType - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder contentTypeResolver(org.apache.camel.component.mail.ContentTypeResolver contentTypeResolver)
contentTypeResolver - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder debugMode(boolean debugMode)
debugMode - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder ignoreUnsupportedCharset(boolean ignoreUnsupportedCharset)
ignoreUnsupportedCharset - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder ignoreUriScheme(boolean ignoreUriScheme)
ignoreUriScheme - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder javaMailProperties(Properties javaMailProperties)
javaMailProperties - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder session(javax.mail.Session session)
session - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder useInlineAttachments(boolean useInlineAttachments)
useInlineAttachments - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
headerFilterStrategy - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder password(String password)
password - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
sslContextParameters - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
useGlobalSslContextParameters - the value to setdefault ImapComponentBuilderFactory.ImapComponentBuilder username(String username)
username - the value to setApache Camel