This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 7bb928d37a3 Regen
7bb928d37a3 is described below
commit 7bb928d37a3f873fd5d41298a45a086183a3f876
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Apr 11 09:20:04 2022 +0200
Regen
---
.../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..e7ae369ac74 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 },
"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" }
}
}