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()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, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, eventFilters, eventFilters, exceptionHandler, exceptionHandler, exchangePattern, exchangePatternMethods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basicin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
basicin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
-
cacheLoaderFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder cacheLoaderFactory(javax.cache.configuration.Factory<javax.cache.integration.CacheLoader> cacheLoaderFactory) The CacheLoader factory. The option is a: <code>javax.cache.configuration.Factory<javax.cache.integration.CacheLoader></code> type. Group: advanced- Specified by:
cacheLoaderFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
cacheLoaderFactoryin 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 a <code>javax.cache.configuration.Factory<javax.cache.integration.CacheLoader></code> type. Group: advanced- Specified by:
cacheLoaderFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
cacheLoaderFactoryin 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: <code>javax.cache.configuration.Factory<javax.cache.integration.CacheWriter></code> type. Group: advanced- Specified by:
cacheWriterFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
cacheWriterFactoryin 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 a <code>javax.cache.configuration.Factory<javax.cache.integration.CacheWriter></code> type. Group: advanced- Specified by:
cacheWriterFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
cacheWriterFactoryin 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: <code>boolean</code> type. Default: true Group: advanced- Specified by:
createCacheIfNotExistsin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
createCacheIfNotExistsin 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 a <code>boolean</code> type. Default: true Group: advanced- Specified by:
createCacheIfNotExistsin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
createCacheIfNotExistsin 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: <code>javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy></code> type. Group: advanced- Specified by:
expiryPolicyFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
expiryPolicyFactoryin 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 a <code>javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy></code> type. Group: advanced- Specified by:
expiryPolicyFactoryin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
expiryPolicyFactoryin 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: <code>boolean</code> type. Default: false Group: advanced- Specified by:
lookupProvidersin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
lookupProvidersin 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 a <code>boolean</code> type. Default: false Group: advanced- Specified by:
lookupProvidersin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointConsumerBuilder- Specified by:
lookupProvidersin interfaceJCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder- Parameters:
lookupProviders- the value to set- Returns:
- the dsl builder
-