generated from camel.apache.org/component
Add component definition: git
This commit is contained in:
parent
ccb03257d8
commit
eaf95c1f43
741
component.json
Normal file
741
component.json
Normal file
@ -0,0 +1,741 @@
|
|||||||
|
{
|
||||||
|
"component": {
|
||||||
|
"kind": "component",
|
||||||
|
"name": "git",
|
||||||
|
"title": "Git",
|
||||||
|
"description": "Perform operations on git repositories.",
|
||||||
|
"deprecated": false,
|
||||||
|
"firstVersion": "2.16.0",
|
||||||
|
"label": "file",
|
||||||
|
"javaType": "org.apache.camel.component.git.GitComponent",
|
||||||
|
"supportLevel": "Stable",
|
||||||
|
"groupId": "org.apache.camel",
|
||||||
|
"artifactId": "camel-git",
|
||||||
|
"version": "4.10.2",
|
||||||
|
"scheme": "git",
|
||||||
|
"extendsScheme": "",
|
||||||
|
"syntax": "git:localPath",
|
||||||
|
"async": false,
|
||||||
|
"api": false,
|
||||||
|
"consumerOnly": false,
|
||||||
|
"producerOnly": false,
|
||||||
|
"lenientProperties": false,
|
||||||
|
"browsable": false,
|
||||||
|
"remote": true
|
||||||
|
},
|
||||||
|
"headers": {
|
||||||
|
"CamelGitOperation": {
|
||||||
|
"index": 0,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The operation to do on a repository, if not specified as endpoint option",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_OPERATION"
|
||||||
|
},
|
||||||
|
"CamelGitFilename": {
|
||||||
|
"index": 1,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The file name in an add operation",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_FILE_NAME"
|
||||||
|
},
|
||||||
|
"CamelGitCommitMessage": {
|
||||||
|
"index": 2,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The commit message related in a commit operation",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_MESSAGE"
|
||||||
|
},
|
||||||
|
"CamelGitCommitUsername": {
|
||||||
|
"index": 3,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The commit username in a commit operation",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_USERNAME"
|
||||||
|
},
|
||||||
|
"CamelGitCommitEmail": {
|
||||||
|
"index": 4,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The commit email in a commit operation",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_EMAIL"
|
||||||
|
},
|
||||||
|
"CamelGitCommitId": {
|
||||||
|
"index": 5,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "common",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The commit id",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_ID"
|
||||||
|
},
|
||||||
|
"CamelGitAllowEmpty": {
|
||||||
|
"index": 6,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "Boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The flag to manage empty git commits",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_ALLOW_EMPTY"
|
||||||
|
},
|
||||||
|
"CamelGitAuthorName": {
|
||||||
|
"index": 7,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The author name",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_AUTHOR_NAME"
|
||||||
|
},
|
||||||
|
"CamelGitCommiterName": {
|
||||||
|
"index": 8,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The committer name",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_COMMITTER_NAME"
|
||||||
|
},
|
||||||
|
"CamelGitCommitTime": {
|
||||||
|
"index": 9,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "int",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The commit time",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_COMMIT_TIME"
|
||||||
|
},
|
||||||
|
"CamelGitBranchName": {
|
||||||
|
"index": 10,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The branch/tag name",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_BRANCH_NAME"
|
||||||
|
},
|
||||||
|
"CamelGitBranchLeaf": {
|
||||||
|
"index": 11,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The leaf",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_BRANCH_LEAF"
|
||||||
|
},
|
||||||
|
"CamelGitBranchObjectId": {
|
||||||
|
"index": 12,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The object id",
|
||||||
|
"constantName": "org.apache.camel.component.git.GitConstants#GIT_BRANCH_OBJECT_ID"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"localPath": {
|
||||||
|
"index": 0,
|
||||||
|
"kind": "path",
|
||||||
|
"displayName": "Local Path",
|
||||||
|
"group": "common",
|
||||||
|
"label": "",
|
||||||
|
"required": true,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "Local repository path"
|
||||||
|
},
|
||||||
|
"branchName": {
|
||||||
|
"index": 1,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Branch Name",
|
||||||
|
"group": "common",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The branch name to work on"
|
||||||
|
},
|
||||||
|
"sendEmptyMessageWhenIdle": {
|
||||||
|
"index": 2,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Send Empty Message When Idle",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": false,
|
||||||
|
"description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead."
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"index": 3,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Type",
|
||||||
|
"group": "consumer",
|
||||||
|
"label": "consumer",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.apache.camel.component.git.consumer.GitType",
|
||||||
|
"enum": [
|
||||||
|
"commit",
|
||||||
|
"tag",
|
||||||
|
"branch"
|
||||||
|
],
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The consumer type"
|
||||||
|
},
|
||||||
|
"bridgeErrorHandler": {
|
||||||
|
"index": 4,
|
||||||
|
"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": 5,
|
||||||
|
"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": 6,
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"pollStrategy": {
|
||||||
|
"index": 7,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Poll Strategy",
|
||||||
|
"group": "consumer (advanced)",
|
||||||
|
"label": "consumer,advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.apache.camel.spi.PollingConsumerPollStrategy",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel."
|
||||||
|
},
|
||||||
|
"allowEmpty": {
|
||||||
|
"index": 8,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Allow Empty",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": true,
|
||||||
|
"description": "The flag to manage empty git commits"
|
||||||
|
},
|
||||||
|
"operation": {
|
||||||
|
"index": 9,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Operation",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"enum": [
|
||||||
|
"add",
|
||||||
|
"cherryPick",
|
||||||
|
"clean",
|
||||||
|
"clone",
|
||||||
|
"commit",
|
||||||
|
"commitAll",
|
||||||
|
"createBranch",
|
||||||
|
"createTag",
|
||||||
|
"deleteBranch",
|
||||||
|
"deleteTag",
|
||||||
|
"gc",
|
||||||
|
"init",
|
||||||
|
"log",
|
||||||
|
"pull",
|
||||||
|
"push",
|
||||||
|
"remoteAdd",
|
||||||
|
"remoteList",
|
||||||
|
"remove",
|
||||||
|
"showBranches",
|
||||||
|
"showTags",
|
||||||
|
"status"
|
||||||
|
],
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The operation to do on the repository"
|
||||||
|
},
|
||||||
|
"remoteName": {
|
||||||
|
"index": 10,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Remote Name",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The remote repository name to use in particular operation like pull"
|
||||||
|
},
|
||||||
|
"remotePath": {
|
||||||
|
"index": 11,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Remote Path",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The remote repository path"
|
||||||
|
},
|
||||||
|
"tagName": {
|
||||||
|
"index": 12,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Tag Name",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The tag name to work on"
|
||||||
|
},
|
||||||
|
"targetBranchName": {
|
||||||
|
"index": 13,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Target Branch Name",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "master",
|
||||||
|
"description": "Name of target branch in merge operation. If not supplied will try to use init.defaultBranch git configs. If not configured will use default value"
|
||||||
|
},
|
||||||
|
"lazyStartProducer": {
|
||||||
|
"index": 14,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Lazy Start Producer",
|
||||||
|
"group": "producer (advanced)",
|
||||||
|
"label": "producer,advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": false,
|
||||||
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
||||||
|
},
|
||||||
|
"gitConfigFile": {
|
||||||
|
"index": 15,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Git Config File",
|
||||||
|
"group": "advanced",
|
||||||
|
"label": "advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "A String with path to a .gitconfig file"
|
||||||
|
},
|
||||||
|
"backoffErrorThreshold": {
|
||||||
|
"index": 16,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Backoff Error Threshold",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "int",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in."
|
||||||
|
},
|
||||||
|
"backoffIdleThreshold": {
|
||||||
|
"index": 17,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Backoff Idle Threshold",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "int",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in."
|
||||||
|
},
|
||||||
|
"backoffMultiplier": {
|
||||||
|
"index": 18,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Backoff Multiplier",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "int",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured."
|
||||||
|
},
|
||||||
|
"delay": {
|
||||||
|
"index": 19,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Delay",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "long",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": 500,
|
||||||
|
"description": "Milliseconds before the next poll."
|
||||||
|
},
|
||||||
|
"greedy": {
|
||||||
|
"index": 20,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Greedy",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": false,
|
||||||
|
"description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages."
|
||||||
|
},
|
||||||
|
"initialDelay": {
|
||||||
|
"index": 21,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Initial Delay",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "long",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": 1000,
|
||||||
|
"description": "Milliseconds before the first poll starts."
|
||||||
|
},
|
||||||
|
"repeatCount": {
|
||||||
|
"index": 22,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Repeat Count",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "long",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": 0,
|
||||||
|
"description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever."
|
||||||
|
},
|
||||||
|
"runLoggingLevel": {
|
||||||
|
"index": 23,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Run Logging Level",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.apache.camel.LoggingLevel",
|
||||||
|
"enum": [
|
||||||
|
"TRACE",
|
||||||
|
"DEBUG",
|
||||||
|
"INFO",
|
||||||
|
"WARN",
|
||||||
|
"ERROR",
|
||||||
|
"OFF"
|
||||||
|
],
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "TRACE",
|
||||||
|
"description": "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that."
|
||||||
|
},
|
||||||
|
"scheduledExecutorService": {
|
||||||
|
"index": 24,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Scheduled Executor Service",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "java.util.concurrent.ScheduledExecutorService",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool."
|
||||||
|
},
|
||||||
|
"scheduler": {
|
||||||
|
"index": 25,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Scheduler",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "java.lang.Object",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "none",
|
||||||
|
"description": "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler"
|
||||||
|
},
|
||||||
|
"schedulerProperties": {
|
||||||
|
"index": 26,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Scheduler Properties",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "java.util.Map<java.lang.String, java.lang.Object>",
|
||||||
|
"prefix": "scheduler.",
|
||||||
|
"multiValue": true,
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler."
|
||||||
|
},
|
||||||
|
"startScheduler": {
|
||||||
|
"index": 27,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Start Scheduler",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": true,
|
||||||
|
"description": "Whether the scheduler should be auto started."
|
||||||
|
},
|
||||||
|
"timeUnit": {
|
||||||
|
"index": 28,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Time Unit",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "java.util.concurrent.TimeUnit",
|
||||||
|
"enum": [
|
||||||
|
"NANOSECONDS",
|
||||||
|
"MICROSECONDS",
|
||||||
|
"MILLISECONDS",
|
||||||
|
"SECONDS",
|
||||||
|
"MINUTES",
|
||||||
|
"HOURS",
|
||||||
|
"DAYS"
|
||||||
|
],
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "MILLISECONDS",
|
||||||
|
"description": "Time unit for initialDelay and delay options."
|
||||||
|
},
|
||||||
|
"useFixedDelay": {
|
||||||
|
"index": 29,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Use Fixed Delay",
|
||||||
|
"group": "scheduler",
|
||||||
|
"label": "consumer,scheduler",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": true,
|
||||||
|
"description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details."
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"index": 30,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Password",
|
||||||
|
"group": "security",
|
||||||
|
"label": "producer,security",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": true,
|
||||||
|
"description": "Remote repository password"
|
||||||
|
},
|
||||||
|
"username": {
|
||||||
|
"index": 31,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Username",
|
||||||
|
"group": "security",
|
||||||
|
"label": "producer,security",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"autowired": false,
|
||||||
|
"secret": true,
|
||||||
|
"description": "Remote repository username"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user