Interface IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- IgniteIdGenEndpointBuilderFactory
public static interface IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Ignite ID Generator component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
The batch size.The batch size.initialValue
(Long initialValue) The initial value.initialValue
(String initialValue) The initial value.The operation to invoke on the Ignite ID Generator.operation
(org.apache.camel.component.ignite.idgen.IgniteIdGenOperation operation) The operation to invoke on the Ignite ID Generator.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.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
-
batchSize
The batch size. The option is a: <code>java.lang.Integer</code> type. Group: producer- Parameters:
batchSize
- the value to set- Returns:
- the dsl builder
-
batchSize
The batch size. The option will be converted to a <code>java.lang.Integer</code> type. Group: producer- Parameters:
batchSize
- the value to set- Returns:
- the dsl builder
-
initialValue
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder initialValue(Long initialValue) The initial value. The option is a: <code>java.lang.Long</code> type. Default: 0 Group: producer- Parameters:
initialValue
- the value to set- Returns:
- the dsl builder
-
initialValue
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder initialValue(String initialValue) The initial value. The option will be converted to a <code>java.lang.Long</code> type. Default: 0 Group: producer- Parameters:
initialValue
- the value to set- Returns:
- the dsl builder
-
operation
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder operation(org.apache.camel.component.ignite.idgen.IgniteIdGenOperation operation) The operation to invoke on the Ignite ID Generator. Superseded by the IgniteConstants.IGNITE_IDGEN_OPERATION header in the IN message. Possible values: ADD_AND_GET, GET, GET_AND_ADD, GET_AND_INCREMENT, INCREMENT_AND_GET. The option is a: <code>org.apache.camel.component.ignite.idgen.IgniteIdGenOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
operation
The operation to invoke on the Ignite ID Generator. Superseded by the IgniteConstants.IGNITE_IDGEN_OPERATION header in the IN message. Possible values: ADD_AND_GET, GET, GET_AND_ADD, GET_AND_INCREMENT, INCREMENT_AND_GET. The option will be converted to a <code>org.apache.camel.component.ignite.idgen.IgniteIdGenOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
propagateIncomingBodyIfNoReturnValue
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder 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: producer- Parameters:
propagateIncomingBodyIfNoReturnValue
- the value to set- Returns:
- the dsl builder
-
propagateIncomingBodyIfNoReturnValue
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder 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: producer- Parameters:
propagateIncomingBodyIfNoReturnValue
- the value to set- Returns:
- the dsl builder
-
treatCollectionsAsCacheObjects
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder 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: producer- Parameters:
treatCollectionsAsCacheObjects
- the value to set- Returns:
- the dsl builder
-
treatCollectionsAsCacheObjects
default IgniteIdGenEndpointBuilderFactory.IgniteIdGenEndpointBuilder 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: producer- Parameters:
treatCollectionsAsCacheObjects
- the value to set- Returns:
- the dsl builder
-