Interface ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
- Enclosing interface:
- ZooKeeperMasterEndpointBuilderFactory
public static interface ZooKeeperMasterEndpointBuilderFactory.ZooKeeperMasterBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description 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.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.
-
-
-
Method Detail
-
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
-
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
-
-