Interface AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointBuilder
- Enclosing interface:
- AtomixQueueEndpointBuilderFactory
public static interface AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Atomix Queue component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AtomixQueueEndpointBuilderFactory.AdvancedAtomixQueueEndpointConsumerBuilder
advanced()
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
atomix(io.atomix.Atomix atomix)
The Atomix instance to use.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
atomix(String atomix)
The Atomix instance to use.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
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 AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
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 AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
configurationUri(String configurationUri)
The Atomix configuration uri.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
defaultAction(String defaultAction)
The default action.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
defaultAction(org.apache.camel.component.atomix.client.queue.AtomixQueue.Action defaultAction)
The default action.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
nodes(String nodes)
The address of the nodes composing the cluster.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
resultHeader(String resultHeader)
The header that wil carry the result.default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder
transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport.
-
-
-
Method Detail
-
advanced
default AtomixQueueEndpointBuilderFactory.AdvancedAtomixQueueEndpointConsumerBuilder advanced()
-
atomix
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder atomix(io.atomix.Atomix atomix)
The Atomix instance to use. The option is a: <code>io.atomix.Atomix</code> type. Group: common- Parameters:
atomix
- the value to set- Returns:
- the dsl builder
-
atomix
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder atomix(String atomix)
The Atomix instance to use. The option will be converted to a <code>io.atomix.Atomix</code> type. Group: common- Parameters:
atomix
- the value to set- Returns:
- the dsl builder
-
configurationUri
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder configurationUri(String configurationUri)
The Atomix configuration uri. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
configurationUri
- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder defaultAction(org.apache.camel.component.atomix.client.queue.AtomixQueue.Action defaultAction)
The default action. The option is a: <code>org.apache.camel.component.atomix.client.queue.AtomixQueue.Action</code> type. Default: ADD Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder defaultAction(String defaultAction)
The default action. The option will be converted to a <code>org.apache.camel.component.atomix.client.queue.AtomixQueue.Action</code> type. Default: ADD Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder nodes(String nodes)
The address of the nodes composing the cluster. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
nodes
- the value to set- Returns:
- the dsl builder
-
resultHeader
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder resultHeader(String resultHeader)
The header that wil carry the result. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
resultHeader
- the value to set- Returns:
- the dsl builder
-
transportClassName
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport. The option is a: <code>java.lang.String</code> type. Default: io.atomix.catalyst.transport.netty.NettyTransport Group: common- Parameters:
transportClassName
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder 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 AtomixQueueEndpointBuilderFactory.AtomixQueueEndpointConsumerBuilder 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
-
-