119.2. Spring Boot Auto-Configuration

구성 요소는 아래 나열된 14 가지 옵션을 지원합니다.

이름설명기본값유형

camel.component.google-calendar.client-factory

GoogleCalendarClientFactory를 클라이언트를 만들기 위한 팩토리로 사용하려면 다음을 수행합니다. 기본적으로 Batch GoogleCalendarClientFactory를 사용합니다. 옵션은 org.apache.camel.component.google.calendar.GoogleCalendarClientFactory 유형입니다.

 

문자열

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

OAuth 2 액세스 토큰. 일반적으로 1 시간 후에 만료되므로 refreshToken은 장기간 사용하는 것이 좋습니다.

 

문자열

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

어떤 종류의 작업을 수행합니까?

 

GoogleCalendarApiName

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

Google 일정 애플리케이션 이름입니다. 예: camel-google-calendar/1.0

 

문자열

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

달력 애플리케이션의 클라이언트 ID

 

문자열

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

일정 애플리케이션의 클라이언트 시크릿

 

문자열

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

Google 서비스 계정의 이메일 주소입니다.

 

문자열

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

선택한 작업에 사용할 하위 작업

 

문자열

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

Google 서비스 계정과 함께 사용할 개인 키가 있는 p12 파일의 이름입니다.

 

문자열

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

OAuth 2 새로 고침 토큰. 이를 사용하여 Google 캘린더 구성 요소는 현재 기간이 만료될 때마다 새로운 accessToken을 얻을 수 있습니다 - 애플리케이션이 오래되면 필요합니다.

 

문자열

camel.component.google-calendar.configuration.scopes

일정 응용 프로그램에서 사용자 계정에 포함할 권한 수준을 지정합니다.Specifies the level of permissions you want a calendar application to have to a user account. 여러 범위를 쉼표로 구분할 수 있습니다. 자세한 내용은 https://developers.google.com/google-apps/calendar/auth 을 참조하십시오.

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

문자열

camel.component.google-calendar.configuration.user

애플리케이션의 이메일 주소는 서비스 계정 흐름에서 가장하려고 합니다.

 

문자열

camel.component.google-calendar.enabled

google-calendar 구성 요소 사용

true

부울

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

구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders.

true

부울