Interface IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- IgniteSetEndpointBuilderFactory
public static interface IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Ignite Sets component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
configuration(Object configuration)
The collection configuration.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
configuration(String configuration)
The collection configuration.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
operation(String operation)
The operation to invoke on the Ignite Set.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
operation(IgniteSetEndpointBuilderFactory.IgniteSetOperation operation)
The operation to invoke on the Ignite Set.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
propagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
propagateIncomingBodyIfNoReturnValue(String propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
treatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder
treatCollectionsAsCacheObjects(String treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.
-
-
-
Method Detail
-
configuration
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder configuration(Object configuration)
The collection configuration. Default: empty configuration. You can also conveniently set inner properties by using configuration.xyz=123 options. The option is a: <code>org.apache.ignite.configuration.CollectionConfiguration</code> type. Group: producer- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
configuration
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder configuration(String configuration)
The collection configuration. Default: empty configuration. You can also conveniently set inner properties by using configuration.xyz=123 options. The option will be converted to a <code>org.apache.ignite.configuration.CollectionConfiguration</code> type. Group: producer- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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 IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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
-
operation
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder operation(IgniteSetEndpointBuilderFactory.IgniteSetOperation operation)
The operation to invoke on the Ignite Set. Superseded by the IgniteConstants.IGNITE_SETS_OPERATION header in the IN message. Possible values: CONTAINS, ADD, SIZE, REMOVE, ITERATOR, CLEAR, RETAIN_ALL, ARRAY.The set operation to perform. The option is a: <code>org.apache.camel.component.ignite.set.IgniteSetOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
operation
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder operation(String operation)
The operation to invoke on the Ignite Set. Superseded by the IgniteConstants.IGNITE_SETS_OPERATION header in the IN message. Possible values: CONTAINS, ADD, SIZE, REMOVE, ITERATOR, CLEAR, RETAIN_ALL, ARRAY.The set operation to perform. The option will be converted to a <code>org.apache.camel.component.ignite.set.IgniteSetOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
propagateIncomingBodyIfNoReturnValue
default IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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 IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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 IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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 IgniteSetEndpointBuilderFactory.IgniteSetEndpointBuilder 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
-
-