- All Implemented Interfaces:
- org.apache.camel.spi.ComponentCustomizer<org.apache.camel.component.ehcache.EhcacheComponent>, org.apache.camel.spi.HasId
@Order(value=2147483647)
@Configuration
@Conditional(value=org.apache.camel.component.ehcache.springboot.customizer.CacheConfigurationCustomizer.NestedConditions.class)
@EnableConfigurationProperties(value=CacheConfigurationCustomizerConfiguration.class)
public class CacheConfigurationCustomizer
extends Object
implements org.apache.camel.spi.HasId, org.apache.camel.spi.ComponentCustomizer<org.apache.camel.component.ehcache.EhcacheComponent>
A simple implementation of ComponentCustomizer
that auto discovers a
CacheConfiguration
instance and bind it to the
EhcacheComponent
component.
This customizer can be disabled/enabled with different strategies:
1. globally using:
camel.component.customizer.enable = true/false
2. for component:
camel.component.ehcache.customizer.enabled = true/false
3. individually:
camel.component.ehcache.customizer.cache-configuration.enabled = true/false