Interface HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointBuilder
- Enclosing interface:
- HazelcastQueueEndpointBuilderFactory
public static interface HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Hazelcast Queue component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default HazelcastQueueEndpointBuilderFactory.AdvancedHazelcastQueueEndpointConsumerBuilder
advanced()
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
defaultOperation(String defaultOperation)
To specify a default operation to use, if no operation header has been provided.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
defaultOperation(HazelcastQueueEndpointBuilderFactory.HazelcastOperation defaultOperation)
To specify a default operation to use, if no operation header has been provided.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
hazelcastInstance(Object hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
hazelcastInstance(String hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
hazelcastInstanceName(String hazelcastInstanceName)
The hazelcast instance reference name which can be used for hazelcast endpoint.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
pollingTimeout(long pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
pollingTimeout(String pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
poolSize(int poolSize)
Define the Pool size for Queue Consumer Executor.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
poolSize(String poolSize)
Define the Pool size for Queue Consumer Executor.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
queueConsumerMode(String queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll.default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder
queueConsumerMode(HazelcastQueueEndpointBuilderFactory.HazelcastQueueConsumerMode queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll.
-
-
-
Method Detail
-
advanced
default HazelcastQueueEndpointBuilderFactory.AdvancedHazelcastQueueEndpointConsumerBuilder advanced()
-
defaultOperation
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder defaultOperation(HazelcastQueueEndpointBuilderFactory.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- Parameters:
defaultOperation
- the value to set- Returns:
- the dsl builder
-
defaultOperation
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder 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- Parameters:
defaultOperation
- the value to set- Returns:
- the dsl builder
-
hazelcastInstance
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder hazelcastInstance(Object 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- Parameters:
hazelcastInstance
- the value to set- Returns:
- the dsl builder
-
hazelcastInstance
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder 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- Parameters:
hazelcastInstance
- the value to set- Returns:
- the dsl builder
-
hazelcastInstanceName
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder 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- Parameters:
hazelcastInstanceName
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
pollingTimeout
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder pollingTimeout(long pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode. The option is a: <code>long</code> type. Default: 10000 Group: consumer- Parameters:
pollingTimeout
- the value to set- Returns:
- the dsl builder
-
pollingTimeout
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder pollingTimeout(String pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode. The option will be converted to a <code>long</code> type. Default: 10000 Group: consumer- Parameters:
pollingTimeout
- the value to set- Returns:
- the dsl builder
-
poolSize
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder poolSize(int poolSize)
Define the Pool size for Queue Consumer Executor. The option is a: <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
poolSize
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder poolSize(String poolSize)
Define the Pool size for Queue Consumer Executor. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
queueConsumerMode
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder queueConsumerMode(HazelcastQueueEndpointBuilderFactory.HazelcastQueueConsumerMode queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll. The option is a: <code>org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode</code> type. Default: Listen Group: consumer- Parameters:
queueConsumerMode
- the value to set- Returns:
- the dsl builder
-
queueConsumerMode
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder queueConsumerMode(String queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll. The option will be converted to a <code>org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode</code> type. Default: Listen Group: consumer- Parameters:
queueConsumerMode
- the value to set- Returns:
- the dsl builder
-
-