Interface EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
EhcacheEndpointBuilderFactory.EhcacheEndpointBuilder
- Enclosing interface:
- EhcacheEndpointBuilderFactory
public static interface EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Ehcache component.
-
Method Summary
Modifier and TypeMethodDescriptionTo configure the default cache action.advanced()
cacheManager
(String cacheManager) The cache manager.cacheManager
(org.ehcache.CacheManager cacheManager) The cache manager.cacheManagerConfiguration
(String cacheManagerConfiguration) The cache manager configuration.cacheManagerConfiguration
(org.ehcache.config.Configuration cacheManagerConfiguration) The cache manager configuration.configurationUri
(String configurationUri) URI pointing to the Ehcache XML configuration file's location.createCacheIfNotExist
(boolean createCacheIfNotExist) Configure if a cache need to be created if it does exist or can't be pre-configured.createCacheIfNotExist
(String createCacheIfNotExist) Configure if a cache need to be created if it does exist or can't be pre-configured.To configure the default action key.To configure the default action key.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
cacheManager
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder cacheManager(org.ehcache.CacheManager cacheManager) The cache manager. The option is a: <code>org.ehcache.CacheManager</code> type. Group: common- Parameters:
cacheManager
- the value to set- Returns:
- the dsl builder
-
cacheManager
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder cacheManager(String cacheManager) The cache manager. The option will be converted to a <code>org.ehcache.CacheManager</code> type. Group: common- Parameters:
cacheManager
- the value to set- Returns:
- the dsl builder
-
cacheManagerConfiguration
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder cacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration) The cache manager configuration. The option is a: <code>org.ehcache.config.Configuration</code> type. Group: common- Parameters:
cacheManagerConfiguration
- the value to set- Returns:
- the dsl builder
-
cacheManagerConfiguration
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder cacheManagerConfiguration(String cacheManagerConfiguration) The cache manager configuration. The option will be converted to a <code>org.ehcache.config.Configuration</code> type. Group: common- Parameters:
cacheManagerConfiguration
- the value to set- Returns:
- the dsl builder
-
configurationUri
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder configurationUri(String configurationUri) URI pointing to the Ehcache XML configuration file's location. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
configurationUri
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExist
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder createCacheIfNotExist(boolean createCacheIfNotExist) Configure if a cache need to be created if it does exist or can't be pre-configured. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
createCacheIfNotExist
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExist
default EhcacheEndpointBuilderFactory.EhcacheEndpointProducerBuilder createCacheIfNotExist(String createCacheIfNotExist) Configure if a cache need to be created if it does exist or can't be pre-configured. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
createCacheIfNotExist
- the value to set- Returns:
- the dsl builder
-
action
To configure the default cache action. If an action is set in the message header, then the operation from the header takes precedence. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
action
- the value to set- Returns:
- the dsl builder
-
key
To configure the default action key. If a key is set in the message header, then the key from the header takes precedence. The option is a: <code>java.lang.Object</code> type. Group: producer- Parameters:
key
- the value to set- Returns:
- the dsl builder
-
key
To configure the default action key. If a key is set in the message header, then the key from the header takes precedence. The option will be converted to a <code>java.lang.Object</code> type. Group: producer- Parameters:
key
- the value to set- Returns:
- the dsl builder
-