Interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,JCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
,JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Enclosing interface:
JCacheEndpointBuilderFactory
public static interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder
extends JCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder, JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
Advanced builder for endpoint for the JCache component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
cacheConfiguration
(String cacheConfiguration) A Configuration for the Cache.cacheConfiguration
(javax.cache.configuration.Configuration cacheConfiguration) A Configuration for the Cache.cacheLoaderFactory
(String cacheLoaderFactory) The CacheLoader factory.cacheLoaderFactory
(javax.cache.configuration.Factory<javax.cache.integration.CacheLoader> cacheLoaderFactory) The CacheLoader factory.cacheWriterFactory
(String cacheWriterFactory) The CacheWriter factory.cacheWriterFactory
(javax.cache.configuration.Factory<javax.cache.integration.CacheWriter> cacheWriterFactory) The CacheWriter factory.createCacheIfNotExists
(boolean createCacheIfNotExists) Configure if a cache need to be created if it does exist or can't be pre-configured.createCacheIfNotExists
(String createCacheIfNotExists) Configure if a cache need to be created if it does exist or can't be pre-configured.expiryPolicyFactory
(String expiryPolicyFactory) The ExpiryPolicy factory.expiryPolicyFactory
(javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> expiryPolicyFactory) The ExpiryPolicy factory.lookupProviders
(boolean lookupProviders) Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi.lookupProviders
(String lookupProviders) Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi.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
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
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, eventFilters, eventFilters, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basic
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
basic
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
-
cacheConfiguration
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheConfiguration(javax.cache.configuration.Configuration cacheConfiguration) A Configuration for the Cache. The option is a:javax.cache.configuration.Configuration
type. Group: advanced- Specified by:
cacheConfiguration
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheConfiguration
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheConfiguration
- the value to set- Returns:
- the dsl builder
-
cacheConfiguration
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheConfiguration(String cacheConfiguration) A Configuration for the Cache. The option will be converted to ajavax.cache.configuration.Configuration
type. Group: advanced- Specified by:
cacheConfiguration
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheConfiguration
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheConfiguration
- the value to set- Returns:
- the dsl builder
-
cacheLoaderFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheLoaderFactory(javax.cache.configuration.Factory<javax.cache.integration.CacheLoader> cacheLoaderFactory) The CacheLoader factory. The option is a:javax.cache.configuration.Factory<javax.cache.integration.CacheLoader>
type. Group: advanced- Specified by:
cacheLoaderFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheLoaderFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheLoaderFactory
- the value to set- Returns:
- the dsl builder
-
cacheLoaderFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheLoaderFactory(String cacheLoaderFactory) The CacheLoader factory. The option will be converted to ajavax.cache.configuration.Factory<javax.cache.integration.CacheLoader>
type. Group: advanced- Specified by:
cacheLoaderFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheLoaderFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheLoaderFactory
- the value to set- Returns:
- the dsl builder
-
cacheWriterFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheWriterFactory(javax.cache.configuration.Factory<javax.cache.integration.CacheWriter> cacheWriterFactory) The CacheWriter factory. The option is a:javax.cache.configuration.Factory<javax.cache.integration.CacheWriter>
type. Group: advanced- Specified by:
cacheWriterFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheWriterFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheWriterFactory
- the value to set- Returns:
- the dsl builder
-
cacheWriterFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheWriterFactory(String cacheWriterFactory) The CacheWriter factory. The option will be converted to ajavax.cache.configuration.Factory<javax.cache.integration.CacheWriter>
type. Group: advanced- Specified by:
cacheWriterFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
cacheWriterFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
cacheWriterFactory
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExists
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder createCacheIfNotExists(boolean createCacheIfNotExists) 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: advanced- Specified by:
createCacheIfNotExists
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
createCacheIfNotExists
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
createCacheIfNotExists
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExists
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder createCacheIfNotExists(String createCacheIfNotExists) 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: advanced- Specified by:
createCacheIfNotExists
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
createCacheIfNotExists
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
createCacheIfNotExists
- the value to set- Returns:
- the dsl builder
-
expiryPolicyFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder expiryPolicyFactory(javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> expiryPolicyFactory) The ExpiryPolicy factory. The option is a:javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy>
type. Group: advanced- Specified by:
expiryPolicyFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
expiryPolicyFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
expiryPolicyFactory
- the value to set- Returns:
- the dsl builder
-
expiryPolicyFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder expiryPolicyFactory(String expiryPolicyFactory) The ExpiryPolicy factory. The option will be converted to ajavax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy>
type. Group: advanced- Specified by:
expiryPolicyFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
expiryPolicyFactory
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
expiryPolicyFactory
- the value to set- Returns:
- the dsl builder
-
lookupProviders
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder lookupProviders(boolean lookupProviders) Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi. The option is a:boolean
type. Default: false Group: advanced- Specified by:
lookupProviders
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
lookupProviders
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
lookupProviders
- the value to set- Returns:
- the dsl builder
-
lookupProviders
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder lookupProviders(String lookupProviders) Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
lookupProviders
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
- Specified by:
lookupProviders
in interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
- Parameters:
lookupProviders
- the value to set- Returns:
- the dsl builder
-