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
Modifier and TypeMethodDescriptionadvanced()
capacity
(int capacity) The queue capacity.The queue capacity.configuration
(String configuration) The collection configuration.configuration
(org.apache.ignite.configuration.CollectionConfiguration configuration) The collection configuration.The operation to invoke on the Ignite Queue.operation
(org.apache.camel.component.ignite.queue.IgniteQueueOperation operation) The operation to invoke on the Ignite Queue.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.timeoutMillis
(Long timeoutMillis) The queue timeout in milliseconds.timeoutMillis
(String timeoutMillis) The queue timeout in milliseconds.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
-
capacity
The queue capacity. Default: non-bounded. The option is a: <code>int</code> type. Group: producer- Parameters:
capacity
- the value to set- Returns:
- the dsl builder
-
capacity
The queue capacity. Default: non-bounded. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
capacity
- the value to set- Returns:
- the dsl builder
-
configuration
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder configuration(org.apache.ignite.configuration.CollectionConfiguration 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 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 a <code>org.apache.ignite.configuration.CollectionConfiguration</code> type. Group: producer- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
operation
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder operation(org.apache.camel.component.ignite.queue.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: <code>org.apache.camel.component.ignite.queue.IgniteQueueOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
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 a <code>org.apache.camel.component.ignite.queue.IgniteQueueOperation</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
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: <code>boolean</code> type. Default: true Group: producer- Parameters:
propagateIncomingBodyIfNoReturnValue
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: true Group: producer- Parameters:
propagateIncomingBodyIfNoReturnValue
- the value to set- Returns:
- the dsl builder
-
timeoutMillis
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder timeoutMillis(Long timeoutMillis) The queue timeout in milliseconds. Default: no timeout. The option is a: <code>java.lang.Long</code> type. Group: producer- Parameters:
timeoutMillis
- the value to set- Returns:
- the dsl builder
-
timeoutMillis
default IgniteQueueEndpointBuilderFactory.IgniteQueueEndpointBuilder timeoutMillis(String timeoutMillis) The queue timeout in milliseconds. Default: no timeout. 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 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: <code>boolean</code> type. Default: false Group: producer- Parameters:
treatCollectionsAsCacheObjects
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: producer- Parameters:
treatCollectionsAsCacheObjects
- the value to set- Returns:
- the dsl builder
-