Interface IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointBuilder
- Enclosing interface:
- IgniteCacheEndpointBuilderFactory
public static interface IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Ignite Cache component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
autoUnsubscribe
(boolean autoUnsubscribe) Whether auto unsubscribe is enabled in the Continuous Query Consumer.autoUnsubscribe
(String autoUnsubscribe) Whether auto unsubscribe is enabled in the Continuous Query Consumer.fireExistingQueryResults
(boolean fireExistingQueryResults) Whether to process existing results that match the query.fireExistingQueryResults
(String fireExistingQueryResults) Whether to process existing results that match the query.oneExchangePerUpdate
(boolean oneExchangePerUpdate) Whether to pack each update in an individual Exchange, even if multiple updates are received in one batch.oneExchangePerUpdate
(String oneExchangePerUpdate) Whether to pack each update in an individual Exchange, even if multiple updates are received in one batch.pageSize
(int pageSize) The page size.The page size.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.remoteFilter
(String remoteFilter) The remote filter, only used by the Continuous Query Consumer.remoteFilter
(org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object, Object> remoteFilter) The remote filter, only used by the Continuous Query Consumer.timeInterval
(long timeInterval) The time interval for the Continuous Query Consumer.timeInterval
(String timeInterval) The time interval 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.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
propagateIncomingBodyIfNoReturnValue
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder 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.IgniteCacheEndpointConsumerBuilder 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.IgniteCacheEndpointConsumerBuilder 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.IgniteCacheEndpointConsumerBuilder 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
-
autoUnsubscribe
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder autoUnsubscribe(boolean autoUnsubscribe) Whether auto unsubscribe is enabled in the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_AUTO_UNSUBSCRIBE. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
autoUnsubscribe
- the value to set- Returns:
- the dsl builder
-
autoUnsubscribe
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder autoUnsubscribe(String autoUnsubscribe) Whether auto unsubscribe is enabled in the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_AUTO_UNSUBSCRIBE. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
autoUnsubscribe
- the value to set- Returns:
- the dsl builder
-
fireExistingQueryResults
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder fireExistingQueryResults(boolean fireExistingQueryResults) Whether to process existing results that match the query. Used on initialization of the Continuous Query Consumer. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
fireExistingQueryResults
- the value to set- Returns:
- the dsl builder
-
fireExistingQueryResults
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder fireExistingQueryResults(String fireExistingQueryResults) Whether to process existing results that match the query. Used on initialization of the Continuous Query Consumer. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
fireExistingQueryResults
- the value to set- Returns:
- the dsl builder
-
oneExchangePerUpdate
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder oneExchangePerUpdate(boolean oneExchangePerUpdate) Whether to pack each update in an individual Exchange, even if multiple updates are received in one batch. Only used by the Continuous Query Consumer. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
oneExchangePerUpdate
- the value to set- Returns:
- the dsl builder
-
oneExchangePerUpdate
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder oneExchangePerUpdate(String oneExchangePerUpdate) Whether to pack each update in an individual Exchange, even if multiple updates are received in one batch. Only used by the Continuous Query Consumer. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
oneExchangePerUpdate
- the value to set- Returns:
- the dsl builder
-
pageSize
The page size. Only used by the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_PAGE_SIZE. The option is a: <code>int</code> type. Default: 1 Group: consumer- Parameters:
pageSize
- the value to set- Returns:
- the dsl builder
-
pageSize
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder pageSize(String pageSize) The page size. Only used by the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_PAGE_SIZE. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer- Parameters:
pageSize
- the value to set- Returns:
- the dsl builder
-
remoteFilter
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder remoteFilter(org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object, Object> remoteFilter) The remote filter, only used by the Continuous Query Consumer. The option is a: <code>org.apache.ignite.cache.CacheEntryEventSerializableFilter<java.lang.Object, java.lang.Object></code> type. Group: consumer- Parameters:
remoteFilter
- the value to set- Returns:
- the dsl builder
-
remoteFilter
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder remoteFilter(String remoteFilter) The remote filter, only used by the Continuous Query Consumer. The option will be converted to a <code>org.apache.ignite.cache.CacheEntryEventSerializableFilter<java.lang.Object, java.lang.Object></code> type. Group: consumer- Parameters:
remoteFilter
- the value to set- Returns:
- the dsl builder
-
timeInterval
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder timeInterval(long timeInterval) The time interval for the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_TIME_INTERVAL. The option is a: <code>long</code> type. Default: 0 Group: consumer- Parameters:
timeInterval
- the value to set- Returns:
- the dsl builder
-
timeInterval
default IgniteCacheEndpointBuilderFactory.IgniteCacheEndpointConsumerBuilder timeInterval(String timeInterval) The time interval for the Continuous Query Consumer. Default value notice: ContinuousQuery.DFLT_TIME_INTERVAL. The option will be converted to a <code>long</code> type. Default: 0 Group: consumer- Parameters:
timeInterval
- the value to set- Returns:
- the dsl builder
-