Interface HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
,HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Enclosing interface:
- HazelcastSedaEndpointBuilderFactory
public static interface HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder
extends HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder, HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
Builder for endpoint for the Hazelcast SEDA component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
concurrentConsumers
(int concurrentConsumers) To use concurrent consumers polling from the SEDA queue.concurrentConsumers
(String concurrentConsumers) To use concurrent consumers polling from the SEDA queue.defaultOperation
(String defaultOperation) To specify a default operation to use, if no operation header has been provided.defaultOperation
(org.apache.camel.component.hazelcast.HazelcastOperation defaultOperation) To specify a default operation to use, if no operation header has been provided.hazelcastInstance
(com.hazelcast.core.HazelcastInstance hazelcastInstance) The hazelcast instance reference which can be used for hazelcast endpoint.hazelcastInstance
(String hazelcastInstance) The hazelcast instance reference which can be used for hazelcast endpoint.hazelcastInstanceName
(String hazelcastInstanceName) The hazelcast instance reference name which can be used for hazelcast endpoint.onErrorDelay
(int onErrorDelay) Milliseconds before consumer continues polling after an error has occurred.onErrorDelay
(String onErrorDelay) Milliseconds before consumer continues polling after an error has occurred.pollTimeout
(int pollTimeout) The timeout used when consuming from the SEDA queue.pollTimeout
(String pollTimeout) The timeout used when consuming from the SEDA queue.transacted
(boolean transacted) If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete.transacted
(String transacted) If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete.transferExchange
(boolean transferExchange) If set to true the whole Exchange will be transfered.transferExchange
(String transferExchange) If set to true the whole Exchange will be transfered.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
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
- Specified by:
advanced
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
advanced
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
-
defaultOperation
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder defaultOperation(org.apache.camel.component.hazelcast.HazelcastOperation defaultOperation) To specify a default operation to use, if no operation header has been provided. The option is a: <code>org.apache.camel.component.hazelcast.HazelcastOperation</code> type. Group: common- Specified by:
defaultOperation
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
defaultOperation
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
defaultOperation
- the value to set- Returns:
- the dsl builder
-
defaultOperation
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder defaultOperation(String defaultOperation) To specify a default operation to use, if no operation header has been provided. The option will be converted to a <code>org.apache.camel.component.hazelcast.HazelcastOperation</code> type. Group: common- Specified by:
defaultOperation
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
defaultOperation
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
defaultOperation
- the value to set- Returns:
- the dsl builder
-
hazelcastInstance
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder hazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance) The hazelcast instance reference which can be used for hazelcast endpoint. The option is a: <code>com.hazelcast.core.HazelcastInstance</code> type. Group: common- Specified by:
hazelcastInstance
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
hazelcastInstance
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
hazelcastInstance
- the value to set- Returns:
- the dsl builder
-
hazelcastInstance
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder hazelcastInstance(String hazelcastInstance) The hazelcast instance reference which can be used for hazelcast endpoint. The option will be converted to a <code>com.hazelcast.core.HazelcastInstance</code> type. Group: common- Specified by:
hazelcastInstance
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
hazelcastInstance
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
hazelcastInstance
- the value to set- Returns:
- the dsl builder
-
hazelcastInstanceName
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder hazelcastInstanceName(String hazelcastInstanceName) The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
hazelcastInstanceName
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
hazelcastInstanceName
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
hazelcastInstanceName
- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder concurrentConsumers(int concurrentConsumers) To use concurrent consumers polling from the SEDA queue. The option is a: <code>int</code> type. Default: 1 Group: seda- Specified by:
concurrentConsumers
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
concurrentConsumers
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
concurrentConsumers
- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder concurrentConsumers(String concurrentConsumers) To use concurrent consumers polling from the SEDA queue. The option will be converted to a <code>int</code> type. Default: 1 Group: seda- Specified by:
concurrentConsumers
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
concurrentConsumers
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
concurrentConsumers
- the value to set- Returns:
- the dsl builder
-
onErrorDelay
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder onErrorDelay(int onErrorDelay) Milliseconds before consumer continues polling after an error has occurred. The option is a: <code>int</code> type. Default: 1000 Group: seda- Specified by:
onErrorDelay
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
onErrorDelay
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
onErrorDelay
- the value to set- Returns:
- the dsl builder
-
onErrorDelay
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder onErrorDelay(String onErrorDelay) Milliseconds before consumer continues polling after an error has occurred. The option will be converted to a <code>int</code> type. Default: 1000 Group: seda- Specified by:
onErrorDelay
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
onErrorDelay
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
onErrorDelay
- the value to set- Returns:
- the dsl builder
-
pollTimeout
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder pollTimeout(int pollTimeout) The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. The option is a: <code>int</code> type. Default: 1000 Group: seda- Specified by:
pollTimeout
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
pollTimeout
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
pollTimeout
- the value to set- Returns:
- the dsl builder
-
pollTimeout
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder pollTimeout(String pollTimeout) The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. The option will be converted to a <code>int</code> type. Default: 1000 Group: seda- Specified by:
pollTimeout
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
pollTimeout
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
pollTimeout
- the value to set- Returns:
- the dsl builder
-
transacted
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder transacted(boolean transacted) If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete. The option is a: <code>boolean</code> type. Default: false Group: seda- Specified by:
transacted
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
transacted
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
transacted
- the value to set- Returns:
- the dsl builder
-
transacted
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder transacted(String transacted) If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete. The option will be converted to a <code>boolean</code> type. Default: false Group: seda- Specified by:
transacted
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
transacted
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
transacted
- the value to set- Returns:
- the dsl builder
-
transferExchange
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder transferExchange(boolean transferExchange) If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped. The option is a: <code>boolean</code> type. Default: false Group: seda- Specified by:
transferExchange
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
transferExchange
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
transferExchange
- the value to set- Returns:
- the dsl builder
-
transferExchange
default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointBuilder transferExchange(String transferExchange) If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped. The option will be converted to a <code>boolean</code> type. Default: false Group: seda- Specified by:
transferExchange
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointConsumerBuilder
- Specified by:
transferExchange
in interfaceHazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder
- Parameters:
transferExchange
- the value to set- Returns:
- the dsl builder
-