Uses of Interface
org.apache.camel.builder.endpoint.dsl.MailEndpointBuilderFactory.MailEndpointConsumerBuilder
Packages that use MailEndpointBuilderFactory.MailEndpointConsumerBuilder
-
Uses of MailEndpointBuilderFactory.MailEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of MailEndpointBuilderFactory.MailEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceBuilder for endpoint for the IMAP component.Methods in org.apache.camel.builder.endpoint.dsl that return MailEndpointBuilderFactory.MailEndpointConsumerBuilderModifier and TypeMethodDescriptionMailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffErrorThreshold(int backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffErrorThreshold(String backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffIdleThreshold(int backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffIdleThreshold(String backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffMultiplier(int backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.backoffMultiplier(String backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.MailEndpointBuilderFactory.AdvancedMailEndpointConsumerBuilder.basic()MailEndpointBuilderFactory.MailEndpointConsumerBuilder.closeFolder(boolean closeFolder) Whether the consumer should close the folder after polling.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.closeFolder(String closeFolder) Whether the consumer should close the folder after polling.After processing a mail message, it can be copied to a mail folder with the given name.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.decodeFilename(boolean decodeFilename) If set to true, the MimeUtility.decodeText method will be used to decode the filename.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.decodeFilename(String decodeFilename) If set to true, the MimeUtility.decodeText method will be used to decode the filename.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.delay(long delay) Milliseconds before the next poll.Milliseconds before the next poll.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.delete(boolean delete) Deletes the messages after they have been processed.Deletes the messages after they have been processed.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.disconnect(boolean disconnect) Whether the consumer should disconnect after polling.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.disconnect(String disconnect) Whether the consumer should disconnect after polling.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.greedy(boolean greedy) If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.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.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.handleFailedMessage(String 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.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.idempotentRepository(String idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which allows to cluster consuming from the same mailbox, and let the repository coordinate whether a mail message is valid for the consumer to process.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.idempotentRepository(org.apache.camel.spi.IdempotentRepository idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which allows to cluster consuming from the same mailbox, and let the repository coordinate whether a mail message is valid for the consumer to process.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.idempotentRepositoryRemoveOnCommit(boolean idempotentRepositoryRemoveOnCommit) When using idempotent repository, then when the mail message has been successfully processed and is committed, should the message id be removed from the idempotent repository (default) or be kept in the repository.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.idempotentRepositoryRemoveOnCommit(String idempotentRepositoryRemoveOnCommit) When using idempotent repository, then when the mail message has been successfully processed and is committed, should the message id be removed from the idempotent repository (default) or be kept in the repository.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.initialDelay(long initialDelay) Milliseconds before the first poll starts.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.initialDelay(String initialDelay) Milliseconds before the first poll starts.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.maxMessagesPerPoll(int maxMessagesPerPoll) Specifies the maximum number of messages to gather per poll.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.maxMessagesPerPoll(String maxMessagesPerPoll) Specifies the maximum number of messages to gather per poll.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.mimeDecodeHeaders(boolean mimeDecodeHeaders) This option enables transparent MIME decoding and unfolding for mail headers.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.mimeDecodeHeaders(String mimeDecodeHeaders) This option enables transparent MIME decoding and unfolding for mail headers.After processing a mail message, it can be moved to a mail folder with the given name.The password for login.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.peek(boolean peek) Will mark the jakarta.mail.Message as peeked before processing the mail message.Will mark the jakarta.mail.Message as peeked before processing the mail message.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.repeatCount(long repeatCount) Specifies a maximum limit of number of fires.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.repeatCount(String repeatCount) Specifies a maximum limit of number of fires.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.runLoggingLevel(String runLoggingLevel) The consumer logs a start/complete log line when it polls.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.scheduledExecutorService(String scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.To use a cron scheduler from either camel-spring or camel-quartz component.To use a cron scheduler from either camel-spring or camel-quartz component.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.schedulerProperties(String key, Object value) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.schedulerProperties(Map values) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.searchTerm(String key, Object value) Refers to a jakarta.mail.search.SearchTerm which allows to filter mails based on search criteria such as subject, body, from, sent after a certain date etc.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.searchTerm(Map values) Refers to a jakarta.mail.search.SearchTerm which allows to filter mails based on search criteria such as subject, body, from, sent after a certain date etc.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.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.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.skipFailedMessage(String 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.Sorting order for messages.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.sortTerm(org.eclipse.angus.mail.imap.SortTerm[] sortTerm) Sorting order for messages.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.sslContextParameters(String sslContextParameters) To configure security using SSLContextParameters.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.startScheduler(boolean startScheduler) Whether the scheduler should be auto started.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.startScheduler(String startScheduler) Whether the scheduler should be auto started.Time unit for initialDelay and delay options.Time unit for initialDelay and delay options.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.unseen(boolean unseen) Whether to limit by unseen mails only.Whether to limit by unseen mails only.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.useFixedDelay(boolean useFixedDelay) Controls if fixed delay or fixed rate is used.MailEndpointBuilderFactory.MailEndpointConsumerBuilder.useFixedDelay(String useFixedDelay) Controls if fixed delay or fixed rate is used.The username for login.