Interface AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
AtomixValueEndpointBuilderFactory.AtomixValueEndpointBuilder
- Enclosing interface:
- AtomixValueEndpointBuilderFactory
public static interface AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint consumers for the Atomix Value component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AtomixValueEndpointBuilderFactory.AdvancedAtomixValueEndpointConsumerBuilderadvanced()default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderatomix(Object atomix)The Atomix instance to use.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderatomix(String atomix)The Atomix instance to use.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderbridgeErrorHandler(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 AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderbridgeErrorHandler(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 AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderconfigurationUri(String configurationUri)The Atomix configuration uri.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderdefaultAction(String defaultAction)The default action.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderdefaultAction(AtomixValueEndpointBuilderFactory.Action defaultAction)The default action.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuildernodes(String nodes)The address of the nodes composing the cluster.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuildernodes(List<Object> nodes)The address of the nodes composing the cluster.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderresultHeader(String resultHeader)The header that wil carry the result.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuildertransportClassName(String transportClassName)The class name (fqn) of the Atomix transport.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderttl(long ttl)The resource ttl.default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilderttl(String ttl)The resource ttl.
-
-
-
Method Detail
-
advanced
default AtomixValueEndpointBuilderFactory.AdvancedAtomixValueEndpointConsumerBuilder advanced()
-
atomix
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder atomix(Object atomix)
The Atomix instance to use. The option is a: <code>io.atomix.AtomixClient</code> type. Group: common- Parameters:
atomix- the value to set- Returns:
- the dsl builder
-
atomix
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder atomix(String atomix)
The Atomix instance to use. The option will be converted to a <code>io.atomix.AtomixClient</code> type. Group: common- Parameters:
atomix- the value to set- Returns:
- the dsl builder
-
configurationUri
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder 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 AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder defaultAction(AtomixValueEndpointBuilderFactory.Action defaultAction)
The default action. The option is a: <code>org.apache.camel.component.atomix.client.value.AtomixValue$Action</code> type. Default: SET Group: common- Parameters:
defaultAction- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder defaultAction(String defaultAction)
The default action. The option will be converted to a <code>org.apache.camel.component.atomix.client.value.AtomixValue$Action</code> type. Default: SET Group: common- Parameters:
defaultAction- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder nodes(List<Object> nodes)
The address of the nodes composing the cluster. The option is a: <code>java.util.List<io.atomix.catalyst.transport.Address></code> type. Group: common- Parameters:
nodes- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder nodes(String nodes)
The address of the nodes composing the cluster. The option will be converted to a <code>java.util.List<io.atomix.catalyst.transport.Address></code> type. Group: common- Parameters:
nodes- the value to set- Returns:
- the dsl builder
-
resultHeader
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder 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 AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder 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
-
ttl
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder ttl(long ttl)
The resource ttl. The option is a: <code>long</code> type. Group: common- Parameters:
ttl- the value to set- Returns:
- the dsl builder
-
ttl
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder ttl(String ttl)
The resource ttl. The option will be converted to a <code>long</code> type. Group: common- Parameters:
ttl- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder 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 AtomixValueEndpointBuilderFactory.AtomixValueEndpointConsumerBuilder 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
-
-