Interface IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- IgniteQueueEndpointBuilderFactory
public static interface IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Ignite Queues component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IgniteQueueEndpointBuilderFactory.AdvancedIgniteQueueEndpointBuilder
advanced()
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
capacity(int capacity)
The queue capacity.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
capacity(String capacity)
The queue capacity.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
configuration(Object configuration)
The collection configuration.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
configuration(String configuration)
The collection configuration.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
operation(String operation)
The operation to invoke on the Ignite Queue.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
operation(IgniteQueueEndpointBuilderFactory.IgniteQueueOperation operation)
The operation to invoke on the Ignite Queue.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
propagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
propagateIncomingBodyIfNoReturnValue(String propagateIncomingBodyIfNoReturnValue)
Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
timeoutMillis(Long timeoutMillis)
The queue timeout in milliseconds.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
timeoutMillis(String timeoutMillis)
The queue timeout in milliseconds.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
treatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder
treatCollectionsAsCacheObjects(String treatCollectionsAsCacheObjects)
Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.
-
-
-
Method Detail
-
advanced
default IgniteQueueEndpointBuilderFactory.AdvancedIgniteQueueEndpointBuilder advanced()
-
capacity
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder capacity(int capacity)
The queue capacity. Default: non-bounded. The option is a:int
type. Group: producer
-
capacity
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder capacity(String capacity)
The queue capacity. Default: non-bounded. The option will be converted to aint
type. Group: producer
-
configuration
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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:org.apache.ignite.configuration.CollectionConfiguration
type. Group: producer
-
configuration
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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 aorg.apache.ignite.configuration.CollectionConfiguration
type. Group: producer
-
lazyStartProducer
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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:boolean
type. Default: false Group: producer
-
lazyStartProducer
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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 aboolean
type. Default: false Group: producer
-
operation
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder operation(IgniteQueueEndpointBuilderFactory.IgniteQueueOperation operation)
The operation to invoke on the Ignite Queue. Superseded by the IgniteConstants.IGNITE_QUEUE_OPERATION header in the IN message. Possible values: CONTAINS, ADD, SIZE, REMOVE, ITERATOR, CLEAR, RETAIN_ALL, ARRAY, DRAIN, ELEMENT, PEEK, OFFER, POLL, TAKE, PUT. The option is a:org.apache.camel.component.ignite.queue.IgniteQueueOperation
type. Group: producer
-
operation
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder operation(String operation)
The operation to invoke on the Ignite Queue. Superseded by the IgniteConstants.IGNITE_QUEUE_OPERATION header in the IN message. Possible values: CONTAINS, ADD, SIZE, REMOVE, ITERATOR, CLEAR, RETAIN_ALL, ARRAY, DRAIN, ELEMENT, PEEK, OFFER, POLL, TAKE, PUT. The option will be converted to aorg.apache.camel.component.ignite.queue.IgniteQueueOperation
type. Group: producer
-
propagateIncomingBodyIfNoReturnValue
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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:boolean
type. Default: true Group: producer
-
propagateIncomingBodyIfNoReturnValue
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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 aboolean
type. Default: true Group: producer
-
timeoutMillis
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder timeoutMillis(Long timeoutMillis)
The queue timeout in milliseconds. Default: no timeout. The option is a:java.lang.Long
type. Group: producer
-
timeoutMillis
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder timeoutMillis(String timeoutMillis)
The queue timeout in milliseconds. Default: no timeout. The option will be converted to ajava.lang.Long
type. Group: producer
-
treatCollectionsAsCacheObjects
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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:boolean
type. Default: false Group: producer
-
treatCollectionsAsCacheObjects
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder 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 aboolean
type. Default: false Group: producer
-
-