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 d91c3d69d36 Polished d91c3d69d36 is described below commit d91c3d69d36a0472015ede7beeecd143ae6679d6 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jan 27 19:32:27 2025 +0100 Polished --- .../resources/org/apache/camel/catalog/models/route.json | 2 +- .../org/apache/camel/catalog/schemas/camel-spring.xsd | 3 +-- .../resources/META-INF/org/apache/camel/model/route.json | 2 +- .../main/java/org/apache/camel/model/RouteDefinition.java | 14 ++++---------- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json index 4ec2b88ab85..36ee3a462ed 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json @@ -14,7 +14,7 @@ "properties": { "id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "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": "attribute", "displayName": "Description", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" }, - "group": { "index": 2, "kind": "attribute", "displayName": "Group", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in the Route definition. May be null." }, + "group": { "index": 2, "kind": "attribute", "displayName": "Group", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The group name for this route. Multiple routes can belong to the same group." }, "nodePrefixId": { "index": 3, "kind": "attribute", "displayName": "Node Prefix Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a prefix to use for all node ids (not route id)." }, "routeConfigurationId": { "index": 4, "kind": "attribute", "displayName": "Route Configuration Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The route configuration id or pattern this route should use for configuration. Multiple id\/pattern can be separated by comma." }, "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto Startup", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "true", "description": "Whether to auto start this route" }, 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 77ec238097c..40197d0c90d 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 @@ -12685,8 +12685,7 @@ Sets the bean ref name of the error handler builder to use on this route. <xs:annotation> <xs:documentation xml:lang="en"> <![CDATA[ -The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in the -Route definition. May be null. +The group name for this route. Multiple routes can belong to the same group. ]]> </xs:documentation> </xs:annotation> diff --git a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json index 4ec2b88ab85..36ee3a462ed 100644 --- a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json +++ b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json @@ -14,7 +14,7 @@ "properties": { "id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "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": "attribute", "displayName": "Description", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" }, - "group": { "index": 2, "kind": "attribute", "displayName": "Group", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in the Route definition. May be null." }, + "group": { "index": 2, "kind": "attribute", "displayName": "Group", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The group name for this route. Multiple routes can belong to the same group." }, "nodePrefixId": { "index": 3, "kind": "attribute", "displayName": "Node Prefix Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets a prefix to use for all node ids (not route id)." }, "routeConfigurationId": { "index": 4, "kind": "attribute", "displayName": "Route Configuration Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The route configuration id or pattern this route should use for configuration. Multiple id\/pattern can be separated by comma." }, "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto Startup", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "true", "description": "Whether to auto start this route" }, diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteDefinition.java index fc7243706f2..5811e7cb60a 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteDefinition.java @@ -279,7 +279,7 @@ public class RouteDefinition extends OutputDefinition<RouteDefinition> } /** - * Set the group name for this route + * The group name for this route. Multiple routes can belong to the same group. * * @param name the group name * @return the builder @@ -290,7 +290,7 @@ public class RouteDefinition extends OutputDefinition<RouteDefinition> } /** - * Set the route group for this route + * The group name for this route. Multiple routes can belong to the same group. * * @param group the route group * @return the builder @@ -956,20 +956,14 @@ public class RouteDefinition extends OutputDefinition<RouteDefinition> } /** - * The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in - * the Route definition. - * <p/> - * May be null. + * The group name for this route. Multiple routes can belong to the same group. */ public String getGroup() { return group; } /** - * The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in - * the Route definition. - * <p/> - * May be null. + * The group name for this route. Multiple routes can belong to the same group. */ @XmlAttribute @Metadata(label = "advanced")