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:org.apache.camel.component.hazelcast.HazelcastOperation
type. Group: common
-
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 aorg.apache.camel.component.hazelcast.HazelcastOperation
type. Group: common
-
hazelcastInstance
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder hazelcastInstance(Object hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint. The option is a:com.hazelcast.core.HazelcastInstance
type. Group: common
-
hazelcastInstance
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder hazelcastInstance(String hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint. The option will be converted to acom.hazelcast.core.HazelcastInstance
type. Group: common
-
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:java.lang.String
type. Group: common
-
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:boolean
type. Default: false Group: consumer
-
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 aboolean
type. Default: false Group: consumer
-
pollingTimeout
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder pollingTimeout(long pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode. The option is a:long
type. Default: 10000 Group: consumer
-
pollingTimeout
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder pollingTimeout(String pollingTimeout)
Define the polling timeout of the Queue consumer in Poll mode. The option will be converted to along
type. Default: 10000 Group: consumer
-
poolSize
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder poolSize(int poolSize)
Define the Pool size for Queue Consumer Executor. The option is a:int
type. Default: 1 Group: consumer
-
poolSize
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder poolSize(String poolSize)
Define the Pool size for Queue Consumer Executor. The option will be converted to aint
type. Default: 1 Group: consumer
-
queueConsumerMode
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder queueConsumerMode(HazelcastQueueEndpointBuilderFactory.HazelcastQueueConsumerMode queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll. The option is a:org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode
type. Default: Listen Group: consumer
-
queueConsumerMode
default HazelcastQueueEndpointBuilderFactory.HazelcastQueueEndpointConsumerBuilder queueConsumerMode(String queueConsumerMode)
Define the Queue Consumer mode: Listen or Poll. The option will be converted to aorg.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode
type. Default: Listen Group: consumer
-
-