122.3. Spring Boot Auto-Configuration

このコンポーネントは、以下に示す 13 のオプションをサポートします。

名前説明デフォルトタイプ

camel.component.google-mail-stream.client-factory

クライアントファクトリー。オプションは org.apache.camel.component.google.mail.GoogleMailClientFactory タイプです。

 

String

camel.component.google-mail-stream.configuration.access-token

OAuth 2 アクセストークン通常、これは 1 時間後に期限切れになるため、長期間の使用には refreshToken をお勧めします。

 

String

camel.component.google-mail-stream.configuration.application-name

Google メールアプリケーション名。例は camel-google-mail/1.0 です

 

String

camel.component.google-mail-stream.configuration.client-id

メールアプリケーションのクライアント ID

 

String

camel.component.google-mail-stream.configuration.client-secret

メールアプリケーションのクライアントシークレット

 

String

camel.component.google-mail-stream.configuration.index

エンドポイントのインデックスを指定します

 

String

camel.component.google-mail-stream.configuration.labels

考慮するラベルのコンマ区切りリスト

 

String

camel.component.google-mail-stream.configuration.mark-as-read

消費されたメッセージを既読としてマークします

false

Boolean

camel.component.google-mail-stream.configuration.max-results

返される最大の結果

10

Long

camel.component.google-mail-stream.configuration.query

Gmail ボックスで実行するクエリー

is:unread

String

camel.component.google-mail-stream.configuration.refresh-token

OAuth 2 トークンの更新これにより、Google カレンダーコンポーネントは、現在の有効期限が切れるたびに新しい accessToken を取得できます。アプリケーションが長期間使用する場合は必要となります。

 

String

camel.component.google-mail-stream.enabled

google-mail-stream コンポーネントの自動設定を有効にするかどうか。これはデフォルトで有効になっています。

 

Boolean

camel.component.google-mail-stream.resolve-property-placeholders

起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。

true

Boolean