This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new b3087add15d Regen for commit 2a9c87fafb6ec31f2c8e90643fd482c74d27ac96
b3087add15d is described below
commit b3087add15d42c191b15abcbf1ca82b5eca1db10
Author: oscerd <[email protected]>
AuthorDate: Thu Apr 14 10:46:27 2022 +0000
Regen for commit 2a9c87fafb6ec31f2c8e90643fd482c74d27ac96
Signed-off-by: GitHub <[email protected]>
---
.../apache/camel/catalog/models/errorHandler.json | 24 ++++------------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/errorHandler.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/errorHandler.json
index b35eb757c4a..ddcf5343eb1 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/errorHandler.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/errorHandler.json
@@ -3,32 +3,16 @@
"kind": "model",
"name": "errorHandler",
"title": "Error Handler",
- "description": "Error handler settings",
+ "description": "Camel error handling.",
"deprecated": false,
- "label": "spring,configuration,error",
- "javaType": "org.apache.camel.spring.xml.SpringErrorHandlerDefinition",
+ "label": "configuration,error",
+ "javaType": "org.apache.camel.model.ErrorHandlerDefinition",
"abstract": false,
"input": false,
"output": false
},
"properties": {
- "type": { "kind": "attribute", "displayName": "Type", "required": true,
"type": "enum", "javaType":
"org.apache.camel.spring.xml.SpringErrorHandlerType", "enum": [
"dead-letter-channel", "default-error-handler", "no-error-handler",
"transaction-error-handler" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "DefaultErrorHandler", "description": "The
type of the error handler" },
- "deadLetterUri": { "kind": "attribute", "displayName": "Dead Letter Uri",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
dead letter endpoint uri for the Dead Letter error handler." },
- "deadLetterHandleNewException": { "kind": "attribute", "displayName":
"Dead Letter Handle New Exception", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Whether the dead letter channel should handle
(and ignore) any new exception that may been thrown during sending the message
to the dead letter endpoint. The default value is true which means any such
kind of exception is handled and ignor [...]
- "level": { "kind": "attribute", "displayName": "Level", "required": false,
"type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "debug",
"error", "info", "off", "trace", "warn" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "ERROR", "description": "Logging level
to use when using the logging error handler type." },
- "rollbackLoggingLevel": { "kind": "attribute", "displayName": "Rollback
Logging Level", "required": false, "type": "enum", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "debug", "error", "info", "off",
"trace", "warn" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "description": "Sets the logging level to use for
logging transactional rollback. This option is default WARN." },
- "logName": { "kind": "attribute", "displayName": "Log Name", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Name of the logger to use
for the logging error handler" },
- "useOriginalMessage": { "kind": "attribute", "displayName": "Use Original
Message", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Will use the original input
org.apache.camel.Message (original body and headers) when an
org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only
applies when all redeliveries attempt have failed and the org.apache [...]
- "useOriginalBody": { "kind": "attribute", "displayName": "Use Original
Body", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Will use the original input org.apache.camel.Message
body (original body only) when an org.apache.camel.Exchange is moved to the
dead letter queue. Notice: this only applies when all redeliveries attempt have
failed and the org.apache.camel.E [...]
- "transactionTemplateRef": { "kind": "attribute", "displayName":
"Transaction Template Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "References to the
org.springframework.transaction.support.TransactionTemplate to use with the
transaction error handler." },
- "transactionManagerRef": { "kind": "attribute", "displayName":
"Transaction Manager Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "References to the
org.springframework.transaction.PlatformTransactionManager to use with the
transaction error handler." },
- "onRedeliveryRef": { "kind": "attribute", "displayName": "On Redelivery
Ref", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a reference to a processor that should be processed before a redelivery
attempt. Can be used to change the org.apache.camel.Exchange before its being
redelivered." },
- "onExceptionOccurredRef": { "kind": "attribute", "displayName": "On
Exception Occurred Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a reference to a processor that should be processed just
after an exception occurred. Can be used to perform custom logging about the
occurred exception at the exact time it happened. Important: Any exception
thrown from this processor will be ign [...]
- "onPrepareFailureRef": { "kind": "attribute", "displayName": "On Prepare
Failure Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a reference to a processor to prepare the
org.apache.camel.Exchange before handled by the failure processor \/ dead
letter channel. This allows for example to enrich the message before sending to
a dead letter queue." },
- "retryWhileRef": { "kind": "attribute", "displayName": "Retry While Ref",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a reference to an retry while expression. Will continue retrying until
expression evaluates to false." },
- "redeliveryPolicyRef": { "kind": "attribute", "displayName": "Redelivery
Policy Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a reference to a RedeliveryPolicy to be used for
redelivery settings." },
- "executorServiceRef": { "kind": "attribute", "displayName": "Executor
Service Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a reference to a thread pool to be used by the error
handler" },
- "redeliveryPolicy": { "kind": "element", "displayName": "Redelivery
Policy", "required": false, "type": "object", "javaType":
"org.apache.camel.spring.xml.CamelRedeliveryPolicyFactoryBean", "deprecated":
false, "autowired": false, "secret": false, "description": "Sets the redelivery
settings" },
+ "errorHandlerType": { "kind": "element", "displayName": "Error Handler
Type", "required": true, "type": "object", "javaType":
"org.apache.camel.ErrorHandlerFactory", "oneOf": [ "deadLetterChannel",
"defaultErrorHandler", "jtaTransactionErrorHandler", "noErrorHandler",
"springTransactionErrorHandler" ], "deprecated": false, "autowired": false,
"secret": false, "description": "The specific error handler in use." },
"id": { "kind": "attribute", "displayName": "Id", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The id of this node" }
}
}