public static interface EhcacheComponentBuilderFactory.EhcacheComponentBuilder extends ComponentBuilder<org.apache.camel.component.ehcache.EhcacheComponent>
| Modifier and Type | Method and Description |
|---|---|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
action(String action)
To configure the default cache action.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
cacheManager(org.ehcache.CacheManager cacheManager)
The cache manager.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
cacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
The cache manager configuration.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
configuration(org.ehcache.config.CacheConfiguration configuration)
The default cache configuration to be used to create caches.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
configurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
A map of cache configuration to be used to create caches.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
configurationUri(String configurationUri)
URI pointing to the Ehcache XML configuration file's location.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
createCacheIfNotExist(boolean createCacheIfNotExist)
Configure if a cache need to be created if it does exist or can't be
pre-configured.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
eventFiring(org.ehcache.event.EventFiring eventFiring)
Set the delivery mode (synchronous, asynchronous).
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
eventOrdering(org.ehcache.event.EventOrdering eventOrdering)
Set the delivery mode (ordered, unordered).
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
eventTypes(String eventTypes)
Set the type of events to listen for
(EVICTED,EXPIRED,REMOVED,CREATED,UPDATED).
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
key(Object key)
To configure the default action key.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
keyType(String keyType)
The cache key type, default java.lang.Object.
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default EhcacheComponentBuilderFactory.EhcacheComponentBuilder |
valueType(String valueType)
The cache value type, default java.lang.Object.
|
build, build, doSetProperty, registerdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder cacheManager(org.ehcache.CacheManager cacheManager)
cacheManager - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder cacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
cacheManagerConfiguration - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder configurationUri(String configurationUri)
configurationUri - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder createCacheIfNotExist(boolean createCacheIfNotExist)
createCacheIfNotExist - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder eventFiring(org.ehcache.event.EventFiring eventFiring)
eventFiring - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder eventOrdering(org.ehcache.event.EventOrdering eventOrdering)
eventOrdering - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder eventTypes(String eventTypes)
eventTypes - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder action(String action)
action - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder key(Object key)
key - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder configuration(org.ehcache.config.CacheConfiguration configuration)
configuration - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder configurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
configurations - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder keyType(String keyType)
keyType - the value to setdefault EhcacheComponentBuilderFactory.EhcacheComponentBuilder valueType(String valueType)
valueType - the value to setApache Camel