Interface ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterBuilders
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- ZooKeeperMasterEndpointBuilderFactory
public static interface ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterBuilders
-
Method Summary
Modifier and TypeMethodDescriptionzookeeperMaster
(String path) ZooKeeper Master (camel-zookeeper-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies.zookeeperMaster
(String componentName, String path) ZooKeeper Master (camel-zookeeper-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies.
-
Method Details
-
zookeeperMaster
default ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterEndpointBuilder zookeeperMaster(String path) ZooKeeper Master (camel-zookeeper-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies. Category: clustering,management,bigdata Since: 2.19 Maven coordinates: org.apache.camel:camel-zookeeper-master Syntax:zookeeper-master:groupName:consumerEndpointUri
Path parameter: groupName (required) The name of the cluster group to use Path parameter: consumerEndpointUri (required) The consumer endpoint to use in master/slave mode- Parameters:
path
- groupName:consumerEndpointUri- Returns:
- the dsl builder
-
zookeeperMaster
default ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterEndpointBuilder zookeeperMaster(String componentName, String path) ZooKeeper Master (camel-zookeeper-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies. Category: clustering,management,bigdata Since: 2.19 Maven coordinates: org.apache.camel:camel-zookeeper-master Syntax:zookeeper-master:groupName:consumerEndpointUri
Path parameter: groupName (required) The name of the cluster group to use Path parameter: consumerEndpointUri (required) The consumer endpoint to use in master/slave mode- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- groupName:consumerEndpointUri- Returns:
- the dsl builder
-