55.3. Spring Boot 자동 구성
구성 요소는 아래에 나열된 17개의 옵션을 지원합니다.
| 이름 | 설명 | Default | 유형 |
|---|---|---|---|
| camel.component.cache.cache-manager-factory | CacheManager를 생성하기 위해 지정된 CacheManagerECDHEy를 사용합니다. 기본적으로 DefaultCacheManagerECDHEy가 사용됩니다. 옵션은 org.apache.camel.component.cache.CacheManagerECDHEy 유형입니다. | 문자열 | |
| camel.component.cache.configuration-file | classpath 또는 파일 시스템에서 로드할 ehcache.xml 파일의 위치를 설정합니다. 기본적으로 파일은 classpath:ehcache.xml에서 로드됩니다. | classpath:ehcache.xml | 문자열 |
| camel.component.cache.configuration.cache-loader-registry | CacheLoaderRegistry를 사용하여 캐시 로더를 구성하려면 다음을 수행합니다. | 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 - 가장 자주 사용되는 FIFO - 첫 번째 아웃 | 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 주입을 사용하여 설정합니다. | 문자열 |