90.3. Spring Boot Auto-Configuration

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

이름설명기본값유형

camel.component.ehcache.cache-configuration

캐시를 생성하는 데 사용할 기본 캐시 구성입니다. 옵션은 org.ehcache.config.CacheConfiguration<?,?> 유형입니다.

 

문자열

camel.component.ehcache.cache-configuration-uri

Ehcache XML 구성 파일의 위치를 가리키는 URI

 

문자열

camel.component.ehcache.cache-manager

캐시 관리자입니다. 옵션은 org.ehcache.CacheManager 유형입니다.

 

문자열

camel.component.ehcache.cache-manager-configuration

캐시 관리자 구성입니다. 옵션은 org.ehcache.config.Configuration 유형입니다.

 

문자열

camel.component.ehcache.caches-configurations

캐시를 생성하는 데 사용할 캐시 구성 맵입니다.

 

map

camel.component.ehcache.configuration.action

기본 캐시 작업을 구성하려면 다음을 수행합니다. 작업이 메시지 헤더에 설정된 경우 헤더의 작업이 우선합니다.

 

문자열

camel.component.ehcache.configuration.cache-manager

캐시 관리자

 

CacheManager

camel.component.ehcache.configuration.cache-manager-configuration

캐시 관리자 구성

 

설정

camel.component.ehcache.configuration.configuration

캐시를 생성하는 데 사용할 기본 캐시 구성입니다.

 

CacheConfiguration

camel.component.ehcache.configuration.configuration-uri

Ehcache XML 구성 파일의 위치를 가리키는 URI

 

문자열

camel.component.ehcache.configuration.configurations

캐시를 생성하는 데 사용할 캐시 구성 맵입니다.

 

map

camel.component.ehcache.configuration.create-cache-if-not-exist

캐시가 존재하는 경우 또는 사전 구성할 수 없는 경우 캐시를 생성해야 하는 경우 를 구성합니다.

true

부울

camel.component.ehcache.configuration.event-firing

전달 모드(동기적, 비동기) 설정

 

EventFiring

camel.component.ehcache.configuration.event-ordering

전달 모드(주문, 순서가 지정되지 않음)를 설정합니다.

 

EventOrdering

camel.component.ehcache.configuration.event-types

수신할 이벤트 유형을 설정합니다.

 

Set

camel.component.ehcache.configuration.key

기본 action 키를 구성하려면 다음을 수행합니다. 메시지가 메시지 헤더에 설정된 경우 헤더의 키가 우선합니다.

 

개체

camel.component.ehcache.configuration.key-type

캐시 키 유형, 기본 java.lang.Object

java.lang.Object

문자열

camel.component.ehcache.configuration.value-type

캐시 값 유형, 기본 java.lang.Object

java.lang.Object

문자열

camel.component.ehcache.customizer.cache-configuration.enabled

cache-configuration customizer를 활성화하거나 비활성화합니다.

true

부울

camel.component.ehcache.customizer.cache-configuration.mode

캐시 구성이 추가되거나 구성 요소에 이미 구성된 구성을 교체해야 하는 경우 를 구성합니다.

 

CacheConfiguration CustomizerConfiguration$ 모드

camel.component.ehcache.customizer.cache-manager.enabled

cache-manager 사용자 지정 프로그램을 활성화하거나 비활성화합니다.

true

부울

camel.component.ehcache.customizer.cache-manager.override

구성 요소에 설정된 캐시 관리자를 사용자 지정자에게 재정의해야 하는 경우 를 구성합니다.

false

부울

camel.component.ehcache.enabled

ehcache 구성 요소 활성화

true

부울

camel.component.ehcache.resolve-property-placeholders

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

true

부울

camel.component.ehcache.configuration.config-uri

Ehcache XML 구성 파일의 위치 @deprecated를 가리키는 URI는 {@link #setConfigurationUri(String)}를 대신 사용합니다.

 

문자열

90.3.1. Message Headers Camel 

 

header유형설명

CamelEhcacheAction

문자열

캐시에서 수행할 수 있는 옵션은 다음과 같습니다.

* CLEAR * PUT * PUT_ALL * PUT_IF_ABSENT * GET * GET_ALL * REMOVE * REMOVE_ALL * REPLACE

CamelEhcacheActionHasResult

부울

동작 결과가 있는 경우 true로 설정합니다.

CamelEhcacheActionSucceeded

부울

actionucceded인 경우 true로 설정합니다.

CamelEhcacheKey

개체

작업에 사용되는 캐시 키

CamelEhcacheKeys

set<Object>

사용되는 키 목록입니다.

* PUT_ALL * GET_ALL * REMOVE_ALL

CamelEhcacheValue

개체

캐시 또는 작업 결과를 저장할 값입니다.

CamelEhcacheOldValue

개체

PUT_IF_ABSENT 또는 REPLACE와 같은 작업 비교에 사용되는 작업의 키와 연결된 이전 값

CamelEhcacheEventType

EventType

수신된 이벤트 유형입니다.