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:io.atomix.AtomixClient
type. Group: common
-
atomix
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder atomix(String atomix)
The Atomix instance to use. The option will be converted to aio.atomix.AtomixClient
type. Group: common
-
configurationUri
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder configurationUri(String configurationUri)
The Atomix configuration uri. The option is a:java.lang.String
type. Group: common
-
defaultAction
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder defaultAction(AtomixMapEndpointBuilderFactory.Action defaultAction)
The default action. The option is a:org.apache.camel.component.atomix.client.map.AtomixMap$Action
type. Default: PUT Group: common
-
defaultAction
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder defaultAction(String defaultAction)
The default action. The option will be converted to aorg.apache.camel.component.atomix.client.map.AtomixMap$Action
type. Default: PUT Group: common
-
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:java.lang.Object
type. Group: common
-
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 ajava.lang.Object
type. Group: common
-
nodes
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder nodes(List<Object> nodes)
The address of the nodes composing the cluster. The option is a:java.util.List<io.atomix.catalyst.transport.Address>
type. Group: common
-
nodes
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder nodes(String nodes)
The address of the nodes composing the cluster. The option will be converted to ajava.util.List<io.atomix.catalyst.transport.Address>
type. Group: common
-
resultHeader
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder resultHeader(String resultHeader)
The header that wil carry the result. The option is a:java.lang.String
type. Group: common
-
transportClassName
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport. The option is a:java.lang.String
type. Default: io.atomix.catalyst.transport.netty.NettyTransport Group: common
-
ttl
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder ttl(long ttl)
The resource ttl. The option is a:long
type. Group: common
-
ttl
default AtomixMapEndpointBuilderFactory.AtomixMapEndpointConsumerBuilder ttl(String ttl)
The resource ttl. The option will be converted to along
type. Group: common
-
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:boolean
type. Default: false Group: consumer
-
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 aboolean
type. Default: false Group: consumer
-
-