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 becee9e451a CAMEL-20462: small typos in properties description (#13312) becee9e451a is described below commit becee9e451ae4189bf7672f6d93e352789a57d3c Author: Ricardo M <lord...@gmail.com> AuthorDate: Tue Feb 27 11:12:55 2024 +0100 CAMEL-20462: small typos in properties description (#13312) This commit fixes a couple of typos: * Beans: Sets a reference to an _exiting_ bean to use, which is looked up from the registry * OnException: Turn on exponential _backk_ off In addition to that, a missing `enum` annotation was added to the LogLevel of `retriesExhaustedLogLevel` --- .../resources/org/apache/camel/catalog/models/bean.json | 2 +- .../org/apache/camel/catalog/models/redeliveryPolicy.json | 6 +++--- .../org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++-- .../resources/META-INF/org/apache/camel/model/bean.json | 2 +- .../META-INF/org/apache/camel/model/redeliveryPolicy.json | 6 +++--- .../src/main/java/org/apache/camel/model/BeanDefinition.java | 2 +- .../org/apache/camel/model/RedeliveryPolicyDefinition.java | 7 ++++--- .../camel/dsl/yaml/deserializers/ModelDeserializers.java | 8 ++++---- .../src/generated/resources/schema/camelYamlDsl.json | 10 ++++++---- 9 files changed, 25 insertions(+), 22 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/bean.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/bean.json index 3cf92f05078..2cac773dc45 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/bean.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/bean.json @@ -15,7 +15,7 @@ "id": { "index": 0, "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" }, "description": { "index": 1, "kind": "element", "displayName": "Description", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" }, "disabled": { "index": 2, "kind": "attribute", "displayName": "Disabled", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime." }, - "ref": { "index": 3, "kind": "attribute", "displayName": "Ref", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a reference to an exiting bean to use, which is looked up from the registry" }, + "ref": { "index": 3, "kind": "attribute", "displayName": "Ref", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a reference to an existing bean to use, which is looked up from the registry" }, "method": { "index": 4, "kind": "attribute", "displayName": "Method", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the method name on the bean to use" }, "beanType": { "index": 5, "kind": "attribute", "displayName": "Bean Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class name (fully qualified) of the bean to use" }, "scope": { "index": 6, "kind": "attribute", "displayName": "Scope", "label": "advanced", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "Singleton", "Request", "Prototype" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Singleton", "description": "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case c [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/redeliveryPolicy.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/redeliveryPolicy.json index a161fb8348e..93a45d627a1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/redeliveryPolicy.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/redeliveryPolicy.json @@ -17,12 +17,12 @@ "redeliveryDelay": { "index": 2, "kind": "attribute", "displayName": "Redelivery Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1000", "description": "Sets the initial redelivery delay" }, "asyncDelayedRedelivery": { "index": 3, "kind": "attribute", "displayName": "Async Delayed Redelivery", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allow asynchronous delayed redelivery. The route, in particular the consumer's component, must support the Asynchronous Routing Engine (e.g. seda)." }, "backOffMultiplier": { "index": 4, "kind": "attribute", "displayName": "Back Off Multiplier", "required": false, "type": "number", "javaType": "java.lang.Double", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "2.0", "description": "Sets the back off multiplier" }, - "useExponentialBackOff": { "index": 5, "kind": "attribute", "displayName": "Use Exponential Back Off", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on exponential backk off" }, + "useExponentialBackOff": { "index": 5, "kind": "attribute", "displayName": "Use Exponential Back Off", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on exponential back off" }, "collisionAvoidanceFactor": { "index": 6, "kind": "attribute", "displayName": "Collision Avoidance Factor", "label": "advanced", "required": false, "type": "number", "javaType": "java.lang.Double", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0.15", "description": "Sets the collision avoidance factor" }, "useCollisionAvoidance": { "index": 7, "kind": "attribute", "displayName": "Use Collision Avoidance", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on collision avoidance." }, "maximumRedeliveryDelay": { "index": 8, "kind": "attribute", "displayName": "Maximum Redelivery Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "description": "Sets the maximum delay between redelivery" }, - "retriesExhaustedLogLevel": { "index": 9, "kind": "attribute", "displayName": "Retries Exhausted Log Level", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ERROR", "description": "Sets the logging level to use when retries have been exhausted" }, - "retryAttemptedLogLevel": { "index": 10, "kind": "attribute", "displayName": "Retry Attempted Log Level", "required": false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEBUG", "description": "Sets the logging level to use for logging retry attempts" }, + "retriesExhaustedLogLevel": { "index": 9, "kind": "attribute", "displayName": "Retries Exhausted Log Level", "label": "advanced", "required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ERROR", "description": "Sets the logging level to use when retries have been exhausted" }, + "retryAttemptedLogLevel": { "index": 10, "kind": "attribute", "displayName": "Retry Attempted Log Level", "required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEBUG", "description": "Sets the logging level to use for logging retry attempts" }, "retryAttemptedLogInterval": { "index": 11, "kind": "attribute", "displayName": "Retry Attempted Log Interval", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1", "description": "Sets the interval to use for logging retry attempts" }, "logRetryAttempted": { "index": 12, "kind": "attribute", "displayName": "Log Retry Attempted", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Sets whether retry attempts should be logged or not. Can be used to include or reduce verbose." }, "logStackTrace": { "index": 13, "kind": "attribute", "displayName": "Log Stack Trace", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Sets whether stack traces should be logged. Can be used to include or reduce verbose." }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index e2f2e95a4fa..f8884754fdf 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -3947,7 +3947,7 @@ Enables random backoff. Default value: false <xs:annotation> <xs:documentation xml:lang="en"> <![CDATA[ -Sets a reference to an exiting bean to use, which is looked up from the registry. +Sets a reference to an existing bean to use, which is looked up from the registry. ]]> </xs:documentation> </xs:annotation> @@ -5714,7 +5714,7 @@ Sets the back off multiplier. Default value: 2.0 <xs:annotation> <xs:documentation xml:lang="en"> <![CDATA[ -Turn on exponential backk off. Default value: false +Turn on exponential back off. Default value: false ]]> </xs:documentation> </xs:annotation> diff --git a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/bean.json b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/bean.json index 3cf92f05078..2cac773dc45 100644 --- a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/bean.json +++ b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/bean.json @@ -15,7 +15,7 @@ "id": { "index": 0, "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" }, "description": { "index": 1, "kind": "element", "displayName": "Description", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" }, "disabled": { "index": 2, "kind": "attribute", "displayName": "Disabled", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime." }, - "ref": { "index": 3, "kind": "attribute", "displayName": "Ref", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a reference to an exiting bean to use, which is looked up from the registry" }, + "ref": { "index": 3, "kind": "attribute", "displayName": "Ref", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a reference to an existing bean to use, which is looked up from the registry" }, "method": { "index": 4, "kind": "attribute", "displayName": "Method", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the method name on the bean to use" }, "beanType": { "index": 5, "kind": "attribute", "displayName": "Bean Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class name (fully qualified) of the bean to use" }, "scope": { "index": 6, "kind": "attribute", "displayName": "Scope", "label": "advanced", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "Singleton", "Request", "Prototype" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Singleton", "description": "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case c [...] diff --git a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/redeliveryPolicy.json b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/redeliveryPolicy.json index a161fb8348e..93a45d627a1 100644 --- a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/redeliveryPolicy.json +++ b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/redeliveryPolicy.json @@ -17,12 +17,12 @@ "redeliveryDelay": { "index": 2, "kind": "attribute", "displayName": "Redelivery Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1000", "description": "Sets the initial redelivery delay" }, "asyncDelayedRedelivery": { "index": 3, "kind": "attribute", "displayName": "Async Delayed Redelivery", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allow asynchronous delayed redelivery. The route, in particular the consumer's component, must support the Asynchronous Routing Engine (e.g. seda)." }, "backOffMultiplier": { "index": 4, "kind": "attribute", "displayName": "Back Off Multiplier", "required": false, "type": "number", "javaType": "java.lang.Double", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "2.0", "description": "Sets the back off multiplier" }, - "useExponentialBackOff": { "index": 5, "kind": "attribute", "displayName": "Use Exponential Back Off", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on exponential backk off" }, + "useExponentialBackOff": { "index": 5, "kind": "attribute", "displayName": "Use Exponential Back Off", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on exponential back off" }, "collisionAvoidanceFactor": { "index": 6, "kind": "attribute", "displayName": "Collision Avoidance Factor", "label": "advanced", "required": false, "type": "number", "javaType": "java.lang.Double", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0.15", "description": "Sets the collision avoidance factor" }, "useCollisionAvoidance": { "index": 7, "kind": "attribute", "displayName": "Use Collision Avoidance", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Turn on collision avoidance." }, "maximumRedeliveryDelay": { "index": 8, "kind": "attribute", "displayName": "Maximum Redelivery Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "description": "Sets the maximum delay between redelivery" }, - "retriesExhaustedLogLevel": { "index": 9, "kind": "attribute", "displayName": "Retries Exhausted Log Level", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ERROR", "description": "Sets the logging level to use when retries have been exhausted" }, - "retryAttemptedLogLevel": { "index": 10, "kind": "attribute", "displayName": "Retry Attempted Log Level", "required": false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEBUG", "description": "Sets the logging level to use for logging retry attempts" }, + "retriesExhaustedLogLevel": { "index": 9, "kind": "attribute", "displayName": "Retries Exhausted Log Level", "label": "advanced", "required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ERROR", "description": "Sets the logging level to use when retries have been exhausted" }, + "retryAttemptedLogLevel": { "index": 10, "kind": "attribute", "displayName": "Retry Attempted Log Level", "required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEBUG", "description": "Sets the logging level to use for logging retry attempts" }, "retryAttemptedLogInterval": { "index": 11, "kind": "attribute", "displayName": "Retry Attempted Log Interval", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1", "description": "Sets the interval to use for logging retry attempts" }, "logRetryAttempted": { "index": 12, "kind": "attribute", "displayName": "Log Retry Attempted", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Sets whether retry attempts should be logged or not. Can be used to include or reduce verbose." }, "logStackTrace": { "index": 13, "kind": "attribute", "displayName": "Log Stack Trace", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Sets whether stack traces should be logged. Can be used to include or reduce verbose." }, diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/BeanDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/BeanDefinition.java index 9c5549eccd1..f79a1b3bf02 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/BeanDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/BeanDefinition.java @@ -99,7 +99,7 @@ public class BeanDefinition extends NoOutputDefinition<BeanDefinition> { } /** - * Sets a reference to an exiting bean to use, which is looked up from the registry + * Sets a reference to an existing bean to use, which is looked up from the registry */ public void setRef(String ref) { this.ref = ref; diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/RedeliveryPolicyDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/RedeliveryPolicyDefinition.java index 83df814b4c4..1558db4d26f 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/RedeliveryPolicyDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/RedeliveryPolicyDefinition.java @@ -57,10 +57,11 @@ public class RedeliveryPolicyDefinition extends IdentifiedType implements Clonea @Metadata(javaType = "java.time.Duration", defaultValue = "60000") private String maximumRedeliveryDelay; @XmlAttribute - @Metadata(label = "advanced", javaType = "org.apache.camel.LoggingLevel", defaultValue = "ERROR") + @Metadata(label = "advanced", javaType = "org.apache.camel.LoggingLevel", defaultValue = "ERROR", + enums = "TRACE,DEBUG,INFO,WARN,ERROR,OFF") private String retriesExhaustedLogLevel; @XmlAttribute - @Metadata(javaType = "org.apache.camel.LoggingLevel", defaultValue = "DEBUG") + @Metadata(javaType = "org.apache.camel.LoggingLevel", defaultValue = "DEBUG", enums = "TRACE,DEBUG,INFO,WARN,ERROR,OFF") private String retryAttemptedLogLevel; @XmlAttribute @Metadata(label = "advanced", javaType = "java.lang.Integer", defaultValue = "1") @@ -531,7 +532,7 @@ public class RedeliveryPolicyDefinition extends IdentifiedType implements Clonea } /** - * Turn on exponential backk off + * Turn on exponential back off * * @return the builder */ diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java index 9a1a6a1d769..1b1bea8114e 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java @@ -1097,7 +1097,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport { @YamlProperty(name = "id", type = "string", description = "Sets the id of this node", displayName = "Id"), @YamlProperty(name = "inheritErrorHandler", type = "boolean"), @YamlProperty(name = "method", type = "string", description = "Sets the method name on the bean to use", displayName = "Method"), - @YamlProperty(name = "ref", type = "string", description = "Sets a reference to an exiting bean to use, which is looked up from the registry", displayName = "Ref"), + @YamlProperty(name = "ref", type = "string", description = "Sets a reference to an existing bean to use, which is looked up from the registry", displayName = "Ref"), @YamlProperty(name = "scope", type = "enum:Singleton,Request,Prototype", defaultValue = "Singleton", description = "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to s [...] } ) @@ -12503,11 +12503,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport { @YamlProperty(name = "maximumRedeliveries", type = "number", description = "Sets the maximum redeliveries x = redeliver at most x times 0 = no redeliveries -1 = redeliver forever", displayName = "Maximum Redeliveries"), @YamlProperty(name = "maximumRedeliveryDelay", type = "string", defaultValue = "60000", description = "Sets the maximum delay between redelivery", displayName = "Maximum Redelivery Delay"), @YamlProperty(name = "redeliveryDelay", type = "string", defaultValue = "1000", description = "Sets the initial redelivery delay", displayName = "Redelivery Delay"), - @YamlProperty(name = "retriesExhaustedLogLevel", type = "string", defaultValue = "ERROR", description = "Sets the logging level to use when retries have been exhausted", displayName = "Retries Exhausted Log Level"), + @YamlProperty(name = "retriesExhaustedLogLevel", type = "enum:TRACE,DEBUG,INFO,WARN,ERROR,OFF", defaultValue = "ERROR", description = "Sets the logging level to use when retries have been exhausted", displayName = "Retries Exhausted Log Level"), @YamlProperty(name = "retryAttemptedLogInterval", type = "number", defaultValue = "1", description = "Sets the interval to use for logging retry attempts", displayName = "Retry Attempted Log Interval"), - @YamlProperty(name = "retryAttemptedLogLevel", type = "string", defaultValue = "DEBUG", description = "Sets the logging level to use for logging retry attempts", displayName = "Retry Attempted Log Level"), + @YamlProperty(name = "retryAttemptedLogLevel", type = "enum:TRACE,DEBUG,INFO,WARN,ERROR,OFF", defaultValue = "DEBUG", description = "Sets the logging level to use for logging retry attempts", displayName = "Retry Attempted Log Level"), @YamlProperty(name = "useCollisionAvoidance", type = "boolean", description = "Turn on collision avoidance.", displayName = "Use Collision Avoidance"), - @YamlProperty(name = "useExponentialBackOff", type = "boolean", description = "Turn on exponential backk off", displayName = "Use Exponential Back Off") + @YamlProperty(name = "useExponentialBackOff", type = "boolean", description = "Turn on exponential back off", displayName = "Use Exponential Back Off") } ) public static class RedeliveryPolicyDefinitionDeserializer extends YamlDeserializerBase<RedeliveryPolicyDefinition> { diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json index 07c36071b51..126d3f1404f 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json @@ -552,7 +552,7 @@ "ref" : { "type" : "string", "title" : "Ref", - "description" : "Sets a reference to an exiting bean to use, which is looked up from the registry" + "description" : "Sets a reference to an existing bean to use, which is looked up from the registry" }, "scope" : { "type" : "string", @@ -4362,7 +4362,8 @@ "type" : "string", "title" : "Retries Exhausted Log Level", "description" : "Sets the logging level to use when retries have been exhausted", - "default" : "ERROR" + "default" : "ERROR", + "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ] }, "retryAttemptedLogInterval" : { "type" : "number", @@ -4374,7 +4375,8 @@ "type" : "string", "title" : "Retry Attempted Log Level", "description" : "Sets the logging level to use for logging retry attempts", - "default" : "DEBUG" + "default" : "DEBUG", + "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ] }, "useCollisionAvoidance" : { "type" : "boolean", @@ -4384,7 +4386,7 @@ "useExponentialBackOff" : { "type" : "boolean", "title" : "Use Exponential Back Off", - "description" : "Turn on exponential backk off" + "description" : "Turn on exponential back off" } } },