Interface IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointBuilder
    Enclosing interface:
    IgniteCacheEndpointBuilderFactory

    public static interface IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Ignite Cache component.
    • Method Detail

      • propagateIncomingBodyIfNoReturnValue

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder propagateIncomingBodyIfNoReturnValue​(boolean propagateIncomingBodyIfNoReturnValue)
        Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void. The option is a: <code>boolean</code> type. Default: true Group: common
        Parameters:
        propagateIncomingBodyIfNoReturnValue - the value to set
        Returns:
        the dsl builder
      • propagateIncomingBodyIfNoReturnValue

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder propagateIncomingBodyIfNoReturnValue​(String propagateIncomingBodyIfNoReturnValue)
        Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void. The option will be converted to a <code>boolean</code> type. Default: true Group: common
        Parameters:
        propagateIncomingBodyIfNoReturnValue - the value to set
        Returns:
        the dsl builder
      • treatCollectionsAsCacheObjects

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder treatCollectionsAsCacheObjects​(boolean treatCollectionsAsCacheObjects)
        Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        treatCollectionsAsCacheObjects - the value to set
        Returns:
        the dsl builder
      • treatCollectionsAsCacheObjects

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder treatCollectionsAsCacheObjects​(String treatCollectionsAsCacheObjects)
        Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc. The option will be converted to a <code>boolean</code> type. Default: false Group: common
        Parameters:
        treatCollectionsAsCacheObjects - the value to set
        Returns:
        the dsl builder
      • query

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder query​(Object query)
        The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer. The option is a: <code>org.apache.ignite.cache.query.Query&lt;javax.cache.Cache$Entry&lt;java.lang.Object, java.lang.Object&gt;&gt;</code> type. Group: consumer
        Parameters:
        query - the value to set
        Returns:
        the dsl builder
      • query

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder query​(String query)
        The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer. The option will be converted to a <code>org.apache.ignite.cache.query.Query&lt;javax.cache.Cache$Entry&lt;java.lang.Object, java.lang.Object&gt;&gt;</code> type. Group: consumer
        Parameters:
        query - the value to set
        Returns:
        the dsl builder
      • cachePeekMode

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder cachePeekMode​(String cachePeekMode)
        The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE). The option will be converted to a <code>org.apache.ignite.cache.CachePeekMode</code> type. Default: ALL Group: producer
        Parameters:
        cachePeekMode - the value to set
        Returns:
        the dsl builder
      • failIfInexistentCache

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder failIfInexistentCache​(boolean failIfInexistentCache)
        Whether to fail the initialization if the cache doesn't exist. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        failIfInexistentCache - the value to set
        Returns:
        the dsl builder
      • failIfInexistentCache

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder failIfInexistentCache​(String failIfInexistentCache)
        Whether to fail the initialization if the cache doesn't exist. The option will be converted to a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        failIfInexistentCache - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder 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
      • lazyStartProducer

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

        default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder operation​(String operation)
        The cache operation to invoke. Possible values: GET, PUT, REMOVE, SIZE, REBALANCE, QUERY, CLEAR. The option will be converted to a <code>org.apache.camel.component.ignite.cache.IgniteCacheOperation</code> type. Group: producer
        Parameters:
        operation - the value to set
        Returns:
        the dsl builder