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 Detail

      • 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
      • 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

        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: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        eventTypes - the value to set
        Returns:
        the dsl builder