blob: cfdaacca08d62d137ac91fa220569e683d07b1aa [file] [log] [blame]
{
"component": {
"kind": "component",
"name": "zookeeper-master",
"title": "ZooKeeper Master",
"description": "Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies.",
"deprecated": false,
"firstVersion": "2.19.0",
"label": "clustering,management,bigdata",
"javaType": "org.apache.camel.component.zookeepermaster.MasterComponent",
"supportLevel": "Stable",
"groupId": "org.apache.camel",
"artifactId": "camel-zookeeper-master",
"version": "3.15.0-SNAPSHOT",
"scheme": "zookeeper-master",
"extendsScheme": "",
"syntax": "zookeeper-master:groupName:consumerEndpointUri",
"async": false,
"api": false,
"consumerOnly": true,
"producerOnly": false,
"lenientProperties": true
},
"componentProperties": {
"bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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." },
"maximumConnectionTimeout": { "kind": "property", "displayName": "Maximum Connection Timeout", "group": "consumer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10000, "description": "Timeout in millis to use when connecting to the zookeeper ensemble" },
"zkRoot": { "kind": "property", "displayName": "Zk Root", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/camel\/zookeepermaster\/clusters\/master", "description": "The root path to use in zookeeper where information is stored which nodes are master\/slave etc. Will by default use: \/camel\/zookeepermaster\/clusters\/master" },
"zooKeeperUrl": { "kind": "property", "displayName": "Zoo Keeper Url", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "localhost:2181", "description": "The url for the zookeeper ensemble" },
"autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." },
"containerIdFactory": { "kind": "property", "displayName": "Container Id Factory", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.zookeepermaster.ContainerIdFactory", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom ContainerIdFactory for creating container ids." },
"curator": { "kind": "property", "displayName": "Curator", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.curator.framework.CuratorFramework", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom configured CuratorFramework as connection to zookeeper ensemble." },
"zooKeeperPassword": { "kind": "property", "displayName": "Zoo Keeper Password", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The password to use when connecting to the zookeeper ensemble" }
},
"properties": {
"groupName": { "kind": "path", "displayName": "Group Name", "group": "consumer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of the cluster group to use" },
"consumerEndpointUri": { "kind": "path", "displayName": "Consumer Endpoint Uri", "group": "consumer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The consumer endpoint to use in master\/slave mode" },
"bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "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." },
"exceptionHandler": { "kind": "parameter", "displayName": "Exception Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", "deprecated": false, "autowired": false, "secret": false, "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
"exchangePattern": { "kind": "parameter", "displayName": "Exchange Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", "InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, "description": "Sets the exchange pattern when the consumer creates an exchange." }
}
}