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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IgniteCacheEndpointBuilderFactory.AdvancedIgniteCacheEndpointProducerBuilder
advanced()
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
cachePeekMode(String cachePeekMode)
The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE).default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
cachePeekMode(IgniteCacheEndpointBuilderFactory.CachePeekMode cachePeekMode)
The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE).default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
failIfInexistentCache(boolean failIfInexistentCache)
Whether to fail the initialization if the cache doesn't exist.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
failIfInexistentCache(String failIfInexistentCache)
Whether to fail the initialization if the cache doesn't exist.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
operation(String operation)
The cache operation to invoke.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
operation(IgniteCacheEndpointBuilderFactory.IgniteCacheOperation operation)
The cache operation to invoke.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
propagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
propagateIncomingBodyIfNoReturnValue(String propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
query(Object query)
The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
query(String query)
The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
treatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder
treatCollectionsAsCacheObjects(String treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.
-
-
-
Method Detail
-
advanced
default IgniteCacheEndpointBuilderFactory.AdvancedIgniteCacheEndpointProducerBuilder advanced()
-
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:boolean
type. Default: true Group: common
-
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 aboolean
type. Default: true Group: common
-
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:boolean
type. Default: false Group: common
-
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 aboolean
type. Default: false Group: common
-
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:org.apache.ignite.cache.query.Query<javax.cache.Cache$Entry<java.lang.Object, java.lang.Object>>
type. Group: consumer
-
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 aorg.apache.ignite.cache.query.Query<javax.cache.Cache$Entry<java.lang.Object, java.lang.Object>>
type. Group: consumer
-
cachePeekMode
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder cachePeekMode(IgniteCacheEndpointBuilderFactory.CachePeekMode cachePeekMode)
The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE). The option is a:org.apache.ignite.cache.CachePeekMode
type. Default: ALL Group: producer
-
cachePeekMode
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder cachePeekMode(String cachePeekMode)
The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE). The option will be converted to aorg.apache.ignite.cache.CachePeekMode
type. Default: ALL Group: producer
-
failIfInexistentCache
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder failIfInexistentCache(boolean failIfInexistentCache)
Whether to fail the initialization if the cache doesn't exist. The option is a:boolean
type. Default: false Group: producer
-
failIfInexistentCache
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder failIfInexistentCache(String failIfInexistentCache)
Whether to fail the initialization if the cache doesn't exist. The option will be converted to aboolean
type. Default: false Group: producer
-
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:boolean
type. Default: false Group: producer
-
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 aboolean
type. Default: false Group: producer
-
operation
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder operation(IgniteCacheEndpointBuilderFactory.IgniteCacheOperation operation)
The cache operation to invoke. Possible values: GET, PUT, REMOVE, SIZE, REBALANCE, QUERY, CLEAR. The option is a:org.apache.camel.component.ignite.cache.IgniteCacheOperation
type. Group: producer
-
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 aorg.apache.camel.component.ignite.cache.IgniteCacheOperation
type. Group: producer
-
-