Interface IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- IgniteComputeEndpointBuilderFactory
public static interface IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Ignite Compute component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
clusterGroupExpression(String clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
clusterGroupExpression(org.apache.camel.component.ignite.ClusterGroupExpression clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
computeName(String computeName)
The name of the compute job, which will be set via IgniteCompute#withName(String).default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
executionType(String executionType)
The compute operation to perform.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
executionType(org.apache.camel.component.ignite.compute.IgniteComputeExecutionType executionType)
The compute operation to perform.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
propagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
propagateIncomingBodyIfNoReturnValue(String propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
taskName(String taskName)
The task name, only applicable if using the IgniteComputeExecutionType#EXECUTE execution type.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
timeoutMillis(Long timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via IgniteCompute#withTimeout(long).default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
timeoutMillis(String timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via IgniteCompute#withTimeout(long).default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
treatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder
treatCollectionsAsCacheObjects(String treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.
-
-
-
Method Detail
-
clusterGroupExpression
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder clusterGroupExpression(org.apache.camel.component.ignite.ClusterGroupExpression clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance. The option is a: <code>org.apache.camel.component.ignite.ClusterGroupExpression</code> type. Group: producer- Parameters:
clusterGroupExpression
- the value to set- Returns:
- the dsl builder
-
clusterGroupExpression
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder clusterGroupExpression(String clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance. The option will be converted to a <code>org.apache.camel.component.ignite.ClusterGroupExpression</code> type. Group: producer- Parameters:
clusterGroupExpression
- the value to set- Returns:
- the dsl builder
-
computeName
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder computeName(String computeName)
The name of the compute job, which will be set via IgniteCompute#withName(String). The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
computeName
- the value to set- Returns:
- the dsl builder
-
executionType
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder executionType(org.apache.camel.component.ignite.compute.IgniteComputeExecutionType executionType)
The compute operation to perform. Possible values: CALL, BROADCAST, APPLY, EXECUTE, RUN, AFFINITY_CALL, AFFINITY_RUN. The component expects different payload types depending on the operation. The option is a: <code>org.apache.camel.component.ignite.compute.IgniteComputeExecutionType</code> type. Required: true Group: producer- Parameters:
executionType
- the value to set- Returns:
- the dsl builder
-
executionType
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder executionType(String executionType)
The compute operation to perform. Possible values: CALL, BROADCAST, APPLY, EXECUTE, RUN, AFFINITY_CALL, AFFINITY_RUN. The component expects different payload types depending on the operation. The option will be converted to a <code>org.apache.camel.component.ignite.compute.IgniteComputeExecutionType</code> type. Required: true Group: producer- Parameters:
executionType
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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 IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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
-
propagateIncomingBodyIfNoReturnValue
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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 IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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
-
taskName
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder taskName(String taskName)
The task name, only applicable if using the IgniteComputeExecutionType#EXECUTE execution type. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
taskName
- the value to set- Returns:
- the dsl builder
-
timeoutMillis
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder timeoutMillis(Long timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via IgniteCompute#withTimeout(long). The option is a: <code>java.lang.Long</code> type. Group: producer- Parameters:
timeoutMillis
- the value to set- Returns:
- the dsl builder
-
timeoutMillis
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder timeoutMillis(String timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via IgniteCompute#withTimeout(long). The option will be converted to a <code>java.lang.Long</code> type. Group: producer- Parameters:
timeoutMillis
- the value to set- Returns:
- the dsl builder
-
treatCollectionsAsCacheObjects
default IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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 IgniteComputeEndpointBuilderFactory.IgniteComputeEndpointBuilder 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
-
-