56.3. Spring Boot 자동 구성


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

Expand
이름설명기본유형

camel.component.cache.cache-manager-factory

CacheManager를 생성하기 위해 지정된 CacheManagerFactory를 사용합니다. 기본적으로 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를 사용하여 캐시 로더를 구성하려면 다음을 수행합니다.

 

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 정책

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 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.

true

부울

camel.component.cache.configuration.disk-store-path

이 매개변수는 무시됩니다. CacheManager는 setter injection를 사용하여 설정합니다.

 

문자열

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동