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
Modifier and TypeMethodDescriptionadvanced()
cachePeekMode
(String cachePeekMode) The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE).cachePeekMode
(org.apache.ignite.cache.CachePeekMode cachePeekMode) The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE).failIfInexistentCache
(boolean failIfInexistentCache) Whether to fail the initialization if the cache doesn't exist.failIfInexistentCache
(String failIfInexistentCache) Whether to fail the initialization if the cache doesn't exist.The cache operation to invoke.operation
(org.apache.camel.component.ignite.cache.IgniteCacheOperation operation) The cache operation to invoke.propagateIncomingBodyIfNoReturnValue
(boolean propagateIncomingBodyIfNoReturnValue) Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.propagateIncomingBodyIfNoReturnValue
(String propagateIncomingBodyIfNoReturnValue) Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer.The Query to execute, only needed for operations that require it, and for the Continuous Query Consumer.treatCollectionsAsCacheObjects
(boolean treatCollectionsAsCacheObjects) Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.treatCollectionsAsCacheObjects
(String treatCollectionsAsCacheObjects) Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
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: <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(org.apache.ignite.cache.query.Query<javax.cache.Cache.Entry<Object, 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<javax.cache.Cache.Entry<java.lang.Object, java.lang.Object>></code> type. Group: consumer- Parameters:
query
- the value to set- Returns:
- the dsl builder
-
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<javax.cache.Cache.Entry<java.lang.Object, java.lang.Object>></code> type. Group: consumer- Parameters:
query
- the value to set- Returns:
- the dsl builder
-
cachePeekMode
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder cachePeekMode(org.apache.ignite.cache.CachePeekMode cachePeekMode) The CachePeekMode, only needed for operations that require it (IgniteCacheOperation#SIZE). The option is a: <code>org.apache.ignite.cache.CachePeekMode</code> type. Default: ALL Group: producer- Parameters:
cachePeekMode
- 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
-
operation
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointProducerBuilder operation(org.apache.camel.component.ignite.cache.IgniteCacheOperation operation) The cache operation to invoke. Possible values: GET, PUT, REMOVE, SIZE, REBALANCE, QUERY, CLEAR. The option is a: <code>org.apache.camel.component.ignite.cache.IgniteCacheOperation</code> type. Group: producer- Parameters:
operation
- 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
-