Interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
All Known Subinterfaces:
JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder
Enclosing interface:
JCacheEndpointBuilderFactory

public static interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the JCache component.
  • Method Details

    • basic

    • lazyStartProducer

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
      Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
      Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • cacheLoaderFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheLoaderFactory(javax.cache.configuration.Factory<javax.cache.integration.CacheLoader> cacheLoaderFactory)
      The CacheLoader factory. The option is a: <code>javax.cache.configuration.Factory&lt;javax.cache.integration.CacheLoader&gt;</code> type. Group: advanced
      Parameters:
      cacheLoaderFactory - the value to set
      Returns:
      the dsl builder
    • cacheLoaderFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheLoaderFactory(String cacheLoaderFactory)
      The CacheLoader factory. The option will be converted to a <code>javax.cache.configuration.Factory&lt;javax.cache.integration.CacheLoader&gt;</code> type. Group: advanced
      Parameters:
      cacheLoaderFactory - the value to set
      Returns:
      the dsl builder
    • cacheWriterFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheWriterFactory(javax.cache.configuration.Factory<javax.cache.integration.CacheWriter> cacheWriterFactory)
      The CacheWriter factory. The option is a: <code>javax.cache.configuration.Factory&lt;javax.cache.integration.CacheWriter&gt;</code> type. Group: advanced
      Parameters:
      cacheWriterFactory - the value to set
      Returns:
      the dsl builder
    • cacheWriterFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheWriterFactory(String cacheWriterFactory)
      The CacheWriter factory. The option will be converted to a <code>javax.cache.configuration.Factory&lt;javax.cache.integration.CacheWriter&gt;</code> type. Group: advanced
      Parameters:
      cacheWriterFactory - the value to set
      Returns:
      the dsl builder
    • createCacheIfNotExists

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder 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
      Parameters:
      createCacheIfNotExists - the value to set
      Returns:
      the dsl builder
    • createCacheIfNotExists

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder 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
      Parameters:
      createCacheIfNotExists - the value to set
      Returns:
      the dsl builder
    • expiryPolicyFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder expiryPolicyFactory(javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> expiryPolicyFactory)
      The ExpiryPolicy factory. The option is a: <code>javax.cache.configuration.Factory&lt;javax.cache.expiry.ExpiryPolicy&gt;</code> type. Group: advanced
      Parameters:
      expiryPolicyFactory - the value to set
      Returns:
      the dsl builder
    • expiryPolicyFactory

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder expiryPolicyFactory(String expiryPolicyFactory)
      The ExpiryPolicy factory. The option will be converted to a <code>javax.cache.configuration.Factory&lt;javax.cache.expiry.ExpiryPolicy&gt;</code> type. Group: advanced
      Parameters:
      expiryPolicyFactory - the value to set
      Returns:
      the dsl builder
    • lookupProviders

      default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder 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
      Parameters:
      lookupProviders - the value to set
      Returns:
      the dsl builder
    • 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
      Parameters:
      lookupProviders - the value to set
      Returns:
      the dsl builder