generated from camel.apache.org/component
Add component definition: cron
This commit is contained in:
parent
7d8869bc75
commit
a59e55aa9b
110
component.json
Normal file
110
component.json
Normal file
@ -0,0 +1,110 @@
|
||||
{
|
||||
"component": {
|
||||
"kind": "component",
|
||||
"name": "cron",
|
||||
"title": "Cron",
|
||||
"description": "A generic interface for triggering events at times specified through the Unix cron syntax.",
|
||||
"deprecated": false,
|
||||
"firstVersion": "3.1.0",
|
||||
"label": "scheduling",
|
||||
"javaType": "org.apache.camel.component.cron.CronComponent",
|
||||
"supportLevel": "Stable",
|
||||
"groupId": "org.apache.camel",
|
||||
"artifactId": "camel-cron",
|
||||
"version": "4.10.2",
|
||||
"scheme": "cron",
|
||||
"extendsScheme": "",
|
||||
"syntax": "cron:name",
|
||||
"async": false,
|
||||
"api": false,
|
||||
"consumerOnly": true,
|
||||
"producerOnly": false,
|
||||
"lenientProperties": false,
|
||||
"browsable": false,
|
||||
"remote": false
|
||||
},
|
||||
"properties": {
|
||||
"name": {
|
||||
"index": 0,
|
||||
"kind": "path",
|
||||
"displayName": "Name",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.cron.api.CamelCronConfiguration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The name of the cron trigger"
|
||||
},
|
||||
"schedule": {
|
||||
"index": 1,
|
||||
"kind": "parameter",
|
||||
"displayName": "Schedule",
|
||||
"group": "consumer",
|
||||
"label": "",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.cron.api.CamelCronConfiguration",
|
||||
"configurationField": "configuration",
|
||||
"description": "A cron expression that will be used to generate events"
|
||||
},
|
||||
"bridgeErrorHandler": {
|
||||
"index": 2,
|
||||
"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": 3,
|
||||
"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": 4,
|
||||
"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