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
All Methods Instance Methods Default Methods Modifier and Type Method Description default EhcacheEndpointBuilderFactory.AdvancedEhcacheEndpointConsumerBuilder
advanced()
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
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 EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
bridgeErrorHandler(String 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 EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
cacheManager(Object cacheManager)
The cache manager.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
cacheManager(String cacheManager)
The cache manager.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
cacheManagerConfiguration(Object cacheManagerConfiguration)
The cache manager configuration.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
cacheManagerConfiguration(String cacheManagerConfiguration)
The cache manager configuration.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
configurationUri(String configurationUri)
URI pointing to the Ehcache XML configuration file's location.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
createCacheIfNotExist(boolean createCacheIfNotExist)
Configure if a cache need to be created if it does exist or can't be pre-configured.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
createCacheIfNotExist(String createCacheIfNotExist)
Configure if a cache need to be created if it does exist or can't be pre-configured.default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
eventFiring(String eventFiring)
Set the delivery mode (synchronous, asynchronous).default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
eventFiring(EhcacheEndpointBuilderFactory.EventFiring eventFiring)
Set the delivery mode (synchronous, asynchronous).default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
eventOrdering(String eventOrdering)
Set the delivery mode (ordered, unordered).default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
eventOrdering(EhcacheEndpointBuilderFactory.EventOrdering eventOrdering)
Set the delivery mode (ordered, unordered).default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder
eventTypes(String eventTypes)
Set the type of events to listen for (EVICTED,EXPIRED,REMOVED,CREATED,UPDATED).
-
-
-
Method Detail
-
advanced
default EhcacheEndpointBuilderFactory.AdvancedEhcacheEndpointConsumerBuilder advanced()
-
cacheManager
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder cacheManager(Object cacheManager)
The cache manager. The option is a:org.apache.camel.component.ehcache.EhcacheManager
type. Group: common
-
cacheManager
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder cacheManager(String cacheManager)
The cache manager. The option will be converted to aorg.apache.camel.component.ehcache.EhcacheManager
type. Group: common
-
cacheManagerConfiguration
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder cacheManagerConfiguration(Object cacheManagerConfiguration)
The cache manager configuration. The option is a:org.ehcache.config.Configuration
type. Group: common
-
cacheManagerConfiguration
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder cacheManagerConfiguration(String cacheManagerConfiguration)
The cache manager configuration. The option will be converted to aorg.ehcache.config.Configuration
type. Group: common
-
configurationUri
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder configurationUri(String configurationUri)
URI pointing to the Ehcache XML configuration file's location. The option is a:java.lang.String
type. Group: common
-
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:boolean
type. Default: true Group: common
-
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 aboolean
type. Default: true Group: common
-
bridgeErrorHandler
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder bridgeErrorHandler(String 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
eventFiring
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventFiring(EhcacheEndpointBuilderFactory.EventFiring eventFiring)
Set the delivery mode (synchronous, asynchronous). The option is a:org.ehcache.event.EventFiring
type. Default: ASYNCHRONOUS Group: consumer
-
eventFiring
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventFiring(String eventFiring)
Set the delivery mode (synchronous, asynchronous). The option will be converted to aorg.ehcache.event.EventFiring
type. Default: ASYNCHRONOUS Group: consumer
-
eventOrdering
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventOrdering(EhcacheEndpointBuilderFactory.EventOrdering eventOrdering)
Set the delivery mode (ordered, unordered). The option is a:org.ehcache.event.EventOrdering
type. Default: ORDERED Group: consumer
-
eventOrdering
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventOrdering(String eventOrdering)
Set the delivery mode (ordered, unordered). The option will be converted to aorg.ehcache.event.EventOrdering
type. Default: ORDERED Group: consumer
-
eventTypes
default EhcacheEndpointBuilderFactory.EhcacheEndpointConsumerBuilder eventTypes(String 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:java.lang.String
type. Group: consumer
-
-