Interface AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
AtomixMapEndpointBuilderFactory.AtomixMapEndpointBuilder
- Enclosing interface:
- AtomixMapEndpointBuilderFactory
public static interface AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Atomix Map component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AtomixMapEndpointBuilderFactory.AdvancedAtomixMapEndpointConsumerBuilder
advanced()
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
atomix(Object atomix)
The Atomix instance to use.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
atomix(String atomix)
The Atomix instance to use.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
configurationUri(String configurationUri)
The Atomix configuration uri.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
defaultAction(String defaultAction)
The default action.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
defaultAction(AtomixMapEndpointBuilderFactory.Action defaultAction)
The default action.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
key(Object key)
The key to use if none is set in the header or to listen for events for a specific key.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
key(String key)
The key to use if none is set in the header or to listen for events for a specific key.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
nodes(String nodes)
The address of the nodes composing the cluster.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
nodes(List<Object> nodes)
The address of the nodes composing the cluster.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
resultHeader(String resultHeader)
The header that wil carry the result.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
ttl(long ttl)
The resource ttl.default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder
ttl(String ttl)
The resource ttl.
-
-
-
Method Detail
-
advanced
default AtomixMapEndpointBuilderFactory.AdvancedAtomixMapEndpointConsumerBuilder advanced()
-
atomix
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder defaultAction(AtomixMapEndpointBuilderFactory.Action defaultAction)
The default action. The option is a: <code>org.apache.camel.component.atomix.client.map.AtomixMap$Action</code> type. Default: PUT Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder defaultAction(String defaultAction)
The default action. The option will be converted to a <code>org.apache.camel.component.atomix.client.map.AtomixMap$Action</code> type. Default: PUT Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
key
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder key(Object key)
The key to use if none is set in the header or to listen for events for a specific key. The option is a: <code>java.lang.Object</code> type. Group: common- Parameters:
key
- the value to set- Returns:
- the dsl builder
-
key
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder key(String key)
The key to use if none is set in the header or to listen for events for a specific key. The option will be converted to a <code>java.lang.Object</code> type. Group: common- Parameters:
key
- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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 AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder 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
-
-