Interface InfinispanComponentBuilderFactory.InfinispanComponentBuilder

    • Method Detail

      • configuration

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configuration​(org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration configuration)
        Component configuration. The option is a: <code>org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration</code> type. Group: common
        Parameters:
        configuration - the value to set
        Returns:
        the dsl builder
      • queryBuilder

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder queryBuilder​(org.apache.camel.component.infinispan.InfinispanQueryBuilder queryBuilder)
        Specifies the query builder. The option is a: <code>org.apache.camel.component.infinispan.InfinispanQueryBuilder</code> type. Group: common
        Parameters:
        queryBuilder - the value to set
        Returns:
        the dsl builder
      • secure

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder secure​(boolean secure)
        Define if we are connecting to a secured Infinispan instance. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        secure - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder 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: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • customListener

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder customListener​(org.apache.camel.component.infinispan.remote.InfinispanRemoteCustomListener customListener)
        Returns the custom listener in use, if provided. The option is a: <code>org.apache.camel.component.infinispan.remote.InfinispanRemoteCustomListener</code> type. Group: consumer
        Parameters:
        customListener - the value to set
        Returns:
        the dsl builder
      • eventTypes

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder eventTypes​(String eventTypes)
        Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are: CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER. The option is a: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        eventTypes - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder 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
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • operation

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder operation​(org.apache.camel.component.infinispan.InfinispanOperation operation)
        The operation to perform. The option is a: <code>org.apache.camel.component.infinispan.InfinispanOperation</code> type. Default: PUT Group: producer
        Parameters:
        operation - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • cacheContainer

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder cacheContainer​(org.infinispan.client.hotrod.RemoteCacheManager cacheContainer)
        Specifies the cache Container to connect. The option is a: <code>org.infinispan.client.hotrod.RemoteCacheManager</code> type. Group: advanced
        Parameters:
        cacheContainer - the value to set
        Returns:
        the dsl builder
      • cacheContainerConfiguration

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder cacheContainerConfiguration​(org.infinispan.client.hotrod.configuration.Configuration cacheContainerConfiguration)
        The CacheContainer configuration. Used if the cacheContainer is not defined. The option is a: <code>org.infinispan.client.hotrod.configuration.Configuration</code> type. Group: advanced
        Parameters:
        cacheContainerConfiguration - the value to set
        Returns:
        the dsl builder
      • configurationProperties

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configurationProperties​(Map<String,​String> configurationProperties)
        Implementation specific properties for the CacheManager. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. Group: advanced
        Parameters:
        configurationProperties - the value to set
        Returns:
        the dsl builder
      • configurationUri

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configurationUri​(String configurationUri)
        An implementation specific URI for the CacheManager. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        configurationUri - the value to set
        Returns:
        the dsl builder
      • flags

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder flags​(String flags)
        A comma separated list of org.infinispan.client.hotrod.Flag to be applied by default on each cache invocation. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        flags - the value to set
        Returns:
        the dsl builder
      • remappingFunction

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder remappingFunction​(BiFunction remappingFunction)
        Set a specific remappingFunction to use in a compute operation. The option is a: <code>java.util.function.BiFunction</code> type. Group: advanced
        Parameters:
        remappingFunction - the value to set
        Returns:
        the dsl builder
      • resultHeader

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder resultHeader​(String resultHeader)
        Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        resultHeader - the value to set
        Returns:
        the dsl builder
      • securityServerName

        default InfinispanComponentBuilderFactory.InfinispanComponentBuilder securityServerName​(String securityServerName)
        Define the security server name to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security
        Parameters:
        securityServerName - the value to set
        Returns:
        the dsl builder