118.2. Spring Boot Auto-Configuration

コンポーネントは、以下に記載される 14 のオプションをサポートします。

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

camel.component.google-calendar.client-factory

クライアントを作成するためのファクトリーとして GoogleCalendarClientFactory を使用します。デフォルトで BatchGoogleCalendarClientFactory を使用します。オプションは org.apache.camel.component.google.calendar.GoogleCalendarClientFactory タイプです。

 

String

camel.component.google-calendar.configuration.access-token

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

 

String

camel.component.google-calendar.configuration.api-name

実行する操作の種類

 

GoogleCalendarApiName

camel.component.google-calendar.configuration.application-name

Google カレンダーアプリケーション名。例は camel-google-calendar/1.0 です

 

String

camel.component.google-calendar.configuration.client-id

カレンダーアプリケーションのクライアント ID

 

String

camel.component.google-calendar.configuration.client-secret

カレンダーアプリケーションのクライアントシークレット

 

String

camel.component.google-calendar.configuration.email-address

Google サービスアカウントの emailAddress。

 

String

camel.component.google-calendar.configuration.method-name

選択した操作に使用するサブ操作

 

String

camel.component.google-calendar.configuration.p12-file-name

Google サービスアカウントで使用する秘密鍵を含む p12 ファイルの名前。

 

String

camel.component.google-calendar.configuration.refresh-token

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

 

String

camel.component.google-calendar.configuration.scopes

カレンダーアプリケーションがユーザーアカウントに対して持つ権限のレベルを指定します。複数のスコープをコンマで区切ることができます。詳細については、https://developers.google.com/google-apps/calendar/auth を参照してください。

https://www.googleapis.com/auth/calendar

String

camel.component.google-calendar.configuration.user

アプリケーションがサービスアカウントフローで偽装しようとしているユーザーのメールアドレス

 

String

camel.component.google-calendar.enabled

google-calendar コンポーネントを有効にする

true

Boolean

camel.component.google-calendar.resolve-property-placeholders

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

true

Boolean