Interface MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    MailEndpointBuilderFactory.AdvancedMailEndpointBuilder
    Enclosing interface:
    MailEndpointBuilderFactory

    public static interface MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint producers for the IMAP component.
    • Method Detail

      • additionalJavaMailProperties

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder additionalJavaMailProperties​(String key,
                                                                                                            Object value)
        Sets additional java mail properties, that will append/override any default properties that is set based on all the other options. This is useful if you need to add some special options but want to keep the others as is. The option is a: java.util.Properties type. The option is multivalued, and you can use the additionalJavaMailProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
      • additionalJavaMailProperties

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder additionalJavaMailProperties​(Map values)
        Sets additional java mail properties, that will append/override any default properties that is set based on all the other options. This is useful if you need to add some special options but want to keep the others as is. The option is a: java.util.Properties type. The option is multivalued, and you can use the additionalJavaMailProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
      • alternativeBodyHeader

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder alternativeBodyHeader​(String alternativeBodyHeader)
        Specifies the key to an IN message header that contains an alternative email body. For example, if you send emails in text/html format and want to provide an alternative mail body for non-HTML email clients, set the alternative mail body with this key as a header. The option is a: java.lang.String type. Default: CamelMailAlternativeBody Group: advanced
      • attachmentsContentTransferEncodingResolver

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder attachmentsContentTransferEncodingResolver​(Object attachmentsContentTransferEncodingResolver)
        To use a custom AttachmentsContentTransferEncodingResolver to resolve what content-type-encoding to use for attachments. The option is a: org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver type. Group: advanced
      • attachmentsContentTransferEncodingResolver

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder attachmentsContentTransferEncodingResolver​(String attachmentsContentTransferEncodingResolver)
        To use a custom AttachmentsContentTransferEncodingResolver to resolve what content-type-encoding to use for attachments. The option will be converted to a org.apache.camel.component.mail.AttachmentsContentTransferEncodingResolver type. Group: advanced
      • authenticator

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder authenticator​(Object authenticator)
        The authenticator for login. If set then the password and username are ignored. Can be used for tokens which can expire and therefore must be read dynamically. The option is a: org.apache.camel.component.mail.MailAuthenticator type. Group: advanced
      • authenticator

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder authenticator​(String authenticator)
        The authenticator for login. If set then the password and username are ignored. Can be used for tokens which can expire and therefore must be read dynamically. The option will be converted to a org.apache.camel.component.mail.MailAuthenticator type. Group: advanced
      • headerFilterStrategy

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder headerFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
        To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter headers. The option is a: org.apache.camel.spi.HeaderFilterStrategy type. Group: advanced
      • ignoreUnsupportedCharset

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder ignoreUnsupportedCharset​(boolean ignoreUnsupportedCharset)
        Option to let Camel ignore unsupported charset in the local JVM when sending mails. If the charset is unsupported then charset=XXX (where XXX represents the unsupported charset) is removed from the content-type and it relies on the platform default instead. The option is a: boolean type. Default: false Group: advanced
      • ignoreUnsupportedCharset

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder ignoreUnsupportedCharset​(String ignoreUnsupportedCharset)
        Option to let Camel ignore unsupported charset in the local JVM when sending mails. If the charset is unsupported then charset=XXX (where XXX represents the unsupported charset) is removed from the content-type and it relies on the platform default instead. The option will be converted to a boolean type. Default: false Group: advanced
      • ignoreUriScheme

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder ignoreUriScheme​(boolean ignoreUriScheme)
        Option to let Camel ignore unsupported charset in the local JVM when sending mails. If the charset is unsupported then charset=XXX (where XXX represents the unsupported charset) is removed from the content-type and it relies on the platform default instead. The option is a: boolean type. Default: false Group: advanced
      • ignoreUriScheme

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder ignoreUriScheme​(String ignoreUriScheme)
        Option to let Camel ignore unsupported charset in the local JVM when sending mails. If the charset is unsupported then charset=XXX (where XXX represents the unsupported charset) is removed from the content-type and it relies on the platform default instead. The option will be converted to a boolean type. Default: false Group: advanced
      • session

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder session​(Object session)
        Specifies the mail session that camel should use for all mail interactions. Useful in scenarios where mail sessions are created and managed by some other resource, such as a JavaEE container. When using a custom mail session, then the hostname and port from the mail session will be used (if configured on the session). The option is a: javax.mail.Session type. Group: advanced
      • session

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder session​(String session)
        Specifies the mail session that camel should use for all mail interactions. Useful in scenarios where mail sessions are created and managed by some other resource, such as a JavaEE container. When using a custom mail session, then the hostname and port from the mail session will be used (if configured on the session). The option will be converted to a javax.mail.Session type. Group: advanced
      • synchronous

        default MailEndpointBuilderFactory.AdvancedMailEndpointProducerBuilder synchronous​(boolean synchronous)
        Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a: boolean type. Default: false Group: advanced