55.3. Spring Boot Auto-Configuration
구성 요소는 아래에 나열된 17 가지 옵션을 지원합니다.
| 이름 | 설명 | 기본값 | 유형 |
|---|---|---|---|
| camel.component.cache.cache-manager-factory | 주어진 CacheManagerFactory를 사용하여 CacheManager를 만듭니다. 기본적으로 DefaultCacheManagerFactory가 사용됩니다. 옵션은 org.apache.camel.component.cache.CacheManagerFactory 유형입니다. | 문자열 | |
| camel.component.cache.configuration-file | classpath 또는 파일 시스템에서 로드할 ehcache.xml 파일의 위치를 설정합니다. 기본적으로 파일은 classpath:ehcache.xml에서 로드됩니다. | classpath:ehcache.xml | 문자열 |
| camel.component.cache.configuration.cache-loader-registry | CacheLoaderRegistry를 사용하여 cache loader를 구성하려면 | CacheLoaderRegistry | |
| camel.component.cache.configuration.cache-name | 캐시 이름 | 문자열 | |
| camel.component.cache.configuration.disk-expiry-thread-interval-seconds | 디스크 만료 스레드 실행 간격(초)입니다. | long | |
| camel.component.cache.configuration.disk-persistent | 애플리케이션을 다시 시작하는 동안 디스크 저장소가 지속되는지 여부입니다. | false | 부울 |
| camel.component.cache.configuration.eternal | 요소가 영구적인지 여부를 설정합니다. 영구적인 경우 시간 제한이 무시되고 요소가 만료되지 않습니다. | false | 부울 |
| camel.component.cache.configuration.event-listener-registry | CacheEventListenerRegistry를 사용하여 이벤트 리스너를 구성하려면 | CacheEventListener Registry | |
| camel.component.cache.configuration.max-elements-in-memory | 메모리의 정의된 캐시에 저장할 수 있는 요소 수입니다. | 1000 | 정수 |
| camel.component.cache.configuration.memory-store-eviction-policy | 메모리의 최대 요소 수에 도달할 때 사용할 제거 전략은 무엇입니까. 이 전략은 제거할 요소를 정의합니다. LRU - 최근에 가장 많이 사용되는 LFU - Lest Frequently Used FIFO - First In First In First In First In First In First In First In First In First In First In First In First In First In First In First In First In First In First | MemoryStoreEviction Policy | |
| camel.component.cache.configuration.object-cache | 직렬화되지 않은 개체를 캐시에 저장할 수 있도록 허용할지 여부입니다. 이 옵션을 활성화하면 디스크에 대한 오버플로도 활성화할 수 없습니다. | false | 부울 |
| camel.component.cache.configuration.overflow-to-disk | 캐시가 디스크에 오버플로될 수 있는지 여부를 지정합니다. | true | 부울 |
| camel.component.cache.configuration.time-to-idle-seconds | 요소가 만료되기 전 액세스 간 최대 시간 | 300 | long |
| camel.component.cache.configuration.time-to-live-seconds | 생성 시간과 요소가 만료되는 시점 사이의 최대 시간입니다. 요소가 영원하지 않은 경우에만 사용됩니다. | 300 | long |
| camel.component.cache.enabled | 캐시 구성 요소 사용 | true | 부울 |
| camel.component.cache.resolve-property-placeholders | 구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders. | true | 부울 |
| camel.component.cache.configuration.disk-store-path | 이 매개변수는 무시됩니다. CacheManager는 setter 주입을 사용하여 이를 설정합니다. | 문자열 |