generated from camel.apache.org/component
Add component definition: hazelcast-instance
This commit is contained in:
parent
38201c7301
commit
1728a59a49
264
component.json
Normal file
264
component.json
Normal file
@ -0,0 +1,264 @@
|
||||
{
|
||||
"component": {
|
||||
"kind": "component",
|
||||
"name": "hazelcast-instance",
|
||||
"title": "Hazelcast Instance",
|
||||
"description": "Consume join/leave events of a cache instance in a Hazelcast cluster.",
|
||||
"deprecated": false,
|
||||
"firstVersion": "2.7.0",
|
||||
"label": "cache,clustering",
|
||||
"javaType": "org.apache.camel.component.hazelcast.instance.HazelcastInstanceComponent",
|
||||
"supportLevel": "Stable",
|
||||
"groupId": "org.apache.camel",
|
||||
"artifactId": "camel-hazelcast",
|
||||
"version": "4.10.2",
|
||||
"scheme": "hazelcast-instance",
|
||||
"extendsScheme": "",
|
||||
"syntax": "hazelcast-instance:cacheName",
|
||||
"async": false,
|
||||
"api": false,
|
||||
"consumerOnly": true,
|
||||
"producerOnly": false,
|
||||
"lenientProperties": false,
|
||||
"browsable": false,
|
||||
"remote": true
|
||||
},
|
||||
"headers": {
|
||||
"CamelHazelcastListenerAction": {
|
||||
"index": 0,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "consumer",
|
||||
"label": "consumer",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The type of event - here added and removed",
|
||||
"constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#LISTENER_ACTION"
|
||||
},
|
||||
"CamelHazelcastListenerType": {
|
||||
"index": 1,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "consumer",
|
||||
"label": "consumer",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The map consumer",
|
||||
"constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#LISTENER_TYPE"
|
||||
},
|
||||
"CamelHazelcastListenerTime": {
|
||||
"index": 2,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "consumer",
|
||||
"label": "consumer",
|
||||
"required": false,
|
||||
"javaType": "Long",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The time of the event in millis",
|
||||
"constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#LISTENER_TIME"
|
||||
},
|
||||
"CamelHazelcastInstanceHost": {
|
||||
"index": 3,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "consumer",
|
||||
"label": "consumer",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The host name of the instance",
|
||||
"constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#INSTANCE_HOST"
|
||||
},
|
||||
"CamelHazelcastInstancePort": {
|
||||
"index": 4,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "consumer",
|
||||
"label": "consumer",
|
||||
"required": false,
|
||||
"javaType": "Integer",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The port number of the instance",
|
||||
"constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#INSTANCE_PORT"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"cacheName": {
|
||||
"index": 0,
|
||||
"kind": "path",
|
||||
"displayName": "Cache Name",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The name of the cache"
|
||||
},
|
||||
"defaultOperation": {
|
||||
"index": 1,
|
||||
"kind": "parameter",
|
||||
"displayName": "Default Operation",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "org.apache.camel.component.hazelcast.HazelcastOperation",
|
||||
"enum": [
|
||||
"put",
|
||||
"delete",
|
||||
"get",
|
||||
"update",
|
||||
"query",
|
||||
"getAll",
|
||||
"clear",
|
||||
"putIfAbsent",
|
||||
"addAll",
|
||||
"removeAll",
|
||||
"retainAll",
|
||||
"evict",
|
||||
"evictAll",
|
||||
"valueCount",
|
||||
"containsKey",
|
||||
"containsValue",
|
||||
"getKeys",
|
||||
"removeValue",
|
||||
"increment",
|
||||
"decrement",
|
||||
"setValue",
|
||||
"destroy",
|
||||
"compareAndSet",
|
||||
"getAndAdd",
|
||||
"add",
|
||||
"offer",
|
||||
"peek",
|
||||
"poll",
|
||||
"remainingCapacity",
|
||||
"drainTo",
|
||||
"removeIf",
|
||||
"take",
|
||||
"publish",
|
||||
"readOnceHead",
|
||||
"readOnceTail",
|
||||
"capacity"
|
||||
],
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "To specify a default operation to use, if no operation header has been provided."
|
||||
},
|
||||
"hazelcastConfigUri": {
|
||||
"index": 2,
|
||||
"kind": "parameter",
|
||||
"displayName": "Hazelcast Config Uri",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"supportFileReference": true,
|
||||
"description": "Hazelcast configuration file."
|
||||
},
|
||||
"hazelcastInstance": {
|
||||
"index": 3,
|
||||
"kind": "parameter",
|
||||
"displayName": "Hazelcast Instance",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "com.hazelcast.core.HazelcastInstance",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The hazelcast instance reference which can be used for hazelcast endpoint."
|
||||
},
|
||||
"hazelcastInstanceName": {
|
||||
"index": 4,
|
||||
"kind": "parameter",
|
||||
"displayName": "Hazelcast Instance Name",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance."
|
||||
},
|
||||
"bridgeErrorHandler": {
|
||||
"index": 5,
|
||||
"kind": "parameter",
|
||||
"displayName": "Bridge Error Handler",
|
||||
"group": "consumer (advanced)",
|
||||
"label": "consumer,advanced",
|
||||
"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 (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. 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": {
|
||||
"index": 6,
|
||||
"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": {
|
||||
"index": 7,
|
||||
"kind": "parameter",
|
||||
"displayName": "Exchange Pattern",
|
||||
"group": "consumer (advanced)",
|
||||
"label": "consumer,advanced",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "org.apache.camel.ExchangePattern",
|
||||
"enum": [
|
||||
"InOnly",
|
||||
"InOut"
|
||||
],
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "Sets the exchange pattern when the consumer creates an exchange."
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user