public static interface SmtpsComponentBuilderFactory.SmtpsComponentBuilder extends ComponentBuilder<org.apache.camel.component.mail.MailComponent>
| Modifier and Type | Method and Description |
|---|---|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
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 SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
alternativeBodyHeader(String alternativeBodyHeader)
Specifies the key to an IN message header that contains an
alternative email body.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
attachmentsContentTransferEncodingResolver(org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver attachmentsContentTransferEncodingResolver)
To use a custom AttachmentsContentTransferEncodingResolver to resolve
what content-type-encoding to use for attachments.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
authenticator(org.apache.camel.component.mail.MailAuthenticator authenticator)
The authenticator for login.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
bcc(String bcc)
Sets the BCC email address.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
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 SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
cc(String cc)
Sets the CC email address.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
closeFolder(boolean closeFolder)
Whether the consumer should close the folder after polling.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
configuration(org.apache.camel.component.mail.MailConfiguration configuration)
Sets the Mail configuration.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
connectionTimeout(int connectionTimeout)
The connection timeout in milliseconds.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
contentType(String contentType)
The mail message content type.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
contentTypeResolver(org.apache.camel.component.mail.ContentTypeResolver contentTypeResolver)
Resolver to determine Content-Type for file attachments.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
copyTo(String copyTo)
After processing a mail message, it can be copied to a mail folder
with the given name.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
debugMode(boolean debugMode)
Enable debug mode on the underlying mail framework.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
delete(boolean delete)
Deletes the messages after they have been processed.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
disconnect(boolean disconnect)
Whether the consumer should disconnect after polling.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
fetchSize(int fetchSize)
Sets the maximum number of messages to consume during a poll.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
folderName(String folderName)
The folder to poll.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
from(String from)
The from email address.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
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 SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
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 SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
ignoreUnsupportedCharset(boolean ignoreUnsupportedCharset)
Option to let Camel ignore unsupported charset in the local JVM when
sending mails.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
ignoreUriScheme(boolean ignoreUriScheme)
Option to let Camel ignore unsupported charset in the local JVM when
sending mails.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
javaMailProperties(Properties javaMailProperties)
Sets the java mail options.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
javaMailSender(org.apache.camel.component.mail.JavaMailSender javaMailSender)
To use a custom org.apache.camel.component.mail.JavaMailSender for
sending emails.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
mapMailMessage(boolean mapMailMessage)
Specifies whether Camel should map the received mail message to Camel
body/headers/attachments.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
mimeDecodeHeaders(boolean mimeDecodeHeaders)
This option enables transparent MIME decoding and unfolding for mail
headers.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
moveTo(String moveTo)
After processing a mail message, it can be moved to a mail folder
with the given name.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
password(String password)
The password for login.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
peek(boolean peek)
Will mark the javax.mail.Message as peeked before processing the mail
message.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
replyTo(String replyTo)
The Reply-To recipients (the receivers of the response mail).
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
session(javax.mail.Session session)
Specifies the mail session that camel should use for all mail
interactions.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
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 SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
subject(String subject)
The Subject of the message being sent.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
to(String to)
Sets the To email address.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
unseen(boolean unseen)
Whether to limit by unseen mails only.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
useInlineAttachments(boolean useInlineAttachments)
Whether to use disposition inline or attachment.
|
default SmtpsComponentBuilderFactory.SmtpsComponentBuilder |
username(String username)
The username for login.
|
build, build, doSetProperty, registerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder closeFolder(boolean closeFolder)
boolean type.
Default: true
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder copyTo(String copyTo)
java.lang.String type.
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder delete(boolean delete)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder disconnect(boolean disconnect)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder handleFailedMessage(boolean handleFailedMessage)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder mimeDecodeHeaders(boolean mimeDecodeHeaders)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder moveTo(String moveTo)
java.lang.String type.
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder peek(boolean peek)
boolean type.
Default: true
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder skipFailedMessage(boolean skipFailedMessage)
boolean type.
Default: false
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder unseen(boolean unseen)
boolean type.
Default: true
Group: consumerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder fetchSize(int fetchSize)
int type.
Default: -1
Group: consumer (advanced)default SmtpsComponentBuilderFactory.SmtpsComponentBuilder folderName(String folderName)
java.lang.String type.
Default: INBOX
Group: consumer (advanced)default SmtpsComponentBuilderFactory.SmtpsComponentBuilder mapMailMessage(boolean mapMailMessage)
boolean type.
Default: true
Group: consumer (advanced)default SmtpsComponentBuilderFactory.SmtpsComponentBuilder bcc(String bcc)
java.lang.String type.
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder cc(String cc)
java.lang.String type.
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder from(String from)
java.lang.String type.
Default: camel@localhost
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder replyTo(String replyTo)
java.lang.String type.
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder subject(String subject)
java.lang.String type.
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder to(String to)
java.lang.String type.
Group: producerdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder javaMailSender(org.apache.camel.component.mail.JavaMailSender javaMailSender)
org.apache.camel.component.mail.JavaMailSender type.
Group: producer (advanced)default SmtpsComponentBuilderFactory.SmtpsComponentBuilder additionalJavaMailProperties(Properties additionalJavaMailProperties)
java.util.Properties type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder alternativeBodyHeader(String alternativeBodyHeader)
java.lang.String type.
Default: CamelMailAlternativeBody
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder attachmentsContentTransferEncodingResolver(org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver attachmentsContentTransferEncodingResolver)
org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder authenticator(org.apache.camel.component.mail.MailAuthenticator authenticator)
org.apache.camel.component.mail.MailAuthenticator type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder configuration(org.apache.camel.component.mail.MailConfiguration configuration)
org.apache.camel.component.mail.MailConfiguration type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder connectionTimeout(int connectionTimeout)
int type.
Default: 30000
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder contentType(String contentType)
java.lang.String type.
Default: text/plain
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder contentTypeResolver(org.apache.camel.component.mail.ContentTypeResolver contentTypeResolver)
org.apache.camel.component.mail.ContentTypeResolver
type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder debugMode(boolean debugMode)
boolean type.
Default: false
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder ignoreUnsupportedCharset(boolean ignoreUnsupportedCharset)
boolean type.
Default: false
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder ignoreUriScheme(boolean ignoreUriScheme)
boolean type.
Default: false
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder javaMailProperties(Properties javaMailProperties)
java.util.Properties type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder session(javax.mail.Session session)
javax.mail.Session type.
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder useInlineAttachments(boolean useInlineAttachments)
boolean type.
Default: false
Group: advanceddefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
org.apache.camel.spi.HeaderFilterStrategy type.
Group: filterdefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder password(String password)
java.lang.String type.
Group: securitydefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
boolean type.
Default: false
Group: securitydefault SmtpsComponentBuilderFactory.SmtpsComponentBuilder username(String username)
java.lang.String type.
Group: securityApache Camel