camel-mail-imap-source-kafka-connector source configuration
Connector Description: Receive unread emails from an IMAP mail server, marking them as read once they are received. The Kamelet generates the following headers: - `subject` / `ce-subject`: the subject of the incoming mail - `from` / `ce-from`: the `from` field of the incoming mail - `to` / `ce-to`: the `to` field of the incoming mail - `cc` / `ce-cc`: the `cc` field of the incoming mail
When using camel-mail-imap-source-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-mail-imap-source-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this source connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.mailimapsource.CamelMailimapsourceSourceConnector
The camel-mail-imap-source source connector supports 6 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required The IMAP server host Example: imap.gmail.com. | HIGH | ||
Required The IMAP server port. | "993" | HIGH | |
Required The username to access the mail box. | HIGH | ||
Required The password to access the mail box. | HIGH | ||
The number of messages fetched for each poll (-1 for no limits). | 10 | MEDIUM | |
The delay between fetches in milliseconds. | 60000 | MEDIUM |
The camel-mail-imap-source source connector has no converters out of the box.
The camel-mail-imap-source source connector has no transforms out of the box.
The camel-mail-imap-source source connector has no aggregation strategies out of the box.