Interface EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
EhcacheEndpointBuilderFactory.EhcacheEndpointBuilder
- Enclosing interface:
EhcacheEndpointBuilderFactory
public static interface EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Ehcache component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
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.eventFiring
(String eventFiring) Set the delivery mode (synchronous, asynchronous).eventFiring
(org.ehcache.event.EventFiring eventFiring) Set the delivery mode (synchronous, asynchronous).eventOrdering
(String eventOrdering) Set the delivery mode (ordered, unordered).eventOrdering
(org.ehcache.event.EventOrdering eventOrdering) Set the delivery mode (ordered, unordered).eventTypes
(String eventTypes) Set the type of events to listen for (EVICTED,EXPIRED,REMOVED,CREATED,UPDATED).Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
cacheManager
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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.EhcacheEndpointConsumerBuilder 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
-
eventFiring
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventFiring(org.ehcache.event.EventFiring eventFiring) Set the delivery mode (synchronous, asynchronous). The option is a: <code>org.ehcache.event.EventFiring</code> type. Default: ASYNCHRONOUS Group: consumer- Parameters:
eventFiring
- the value to set- Returns:
- the dsl builder
-
eventFiring
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventFiring(String eventFiring) Set the delivery mode (synchronous, asynchronous). The option will be converted to a <code>org.ehcache.event.EventFiring</code> type. Default: ASYNCHRONOUS Group: consumer- Parameters:
eventFiring
- the value to set- Returns:
- the dsl builder
-
eventOrdering
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventOrdering(org.ehcache.event.EventOrdering eventOrdering) Set the delivery mode (ordered, unordered). The option is a: <code>org.ehcache.event.EventOrdering</code> type. Default: ORDERED Group: consumer- Parameters:
eventOrdering
- the value to set- Returns:
- the dsl builder
-
eventOrdering
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventOrdering(String eventOrdering) Set the delivery mode (ordered, unordered). The option will be converted to a <code>org.ehcache.event.EventOrdering</code> type. Default: ORDERED Group: consumer- Parameters:
eventOrdering
- the value to set- Returns:
- the dsl builder
-
eventTypes
Set the type of events to listen for (EVICTED,EXPIRED,REMOVED,CREATED,UPDATED). You can specify multiple entries separated by comma. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
eventTypes
- the value to set- Returns:
- the dsl builder
-