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 2427ea0e2e8d Polished
2427ea0e2e8d is described below

commit 2427ea0e2e8d4edbea4f10c7b6f4fb166662b6d3
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Feb 7 10:15:17 2026 +0100

    Polished
---
 .../resources/org/apache/camel/catalog/others/yaml-dsl.json      | 2 +-
 .../dsl/jbang/core/commands/catalog/CatalogBaseCommand.java      | 9 ++++++++-
 dsl/camel-xml-jaxb-dsl/src/main/docs/java-xml-jaxb-dsl.adoc      | 2 +-
 dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml                        | 2 +-
 .../META-INF/services/org/apache/camel/other.properties          | 2 +-
 .../camel-yaml-dsl/src/generated/resources/yaml-dsl.json         | 2 +-
 dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc    | 2 +-
 7 files changed, 14 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/yaml-dsl.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/yaml-dsl.json
index ff750eeb734b..8137a6cedcfa 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/yaml-dsl.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/yaml-dsl.json
@@ -3,7 +3,7 @@
     "kind": "other",
     "name": "yaml-dsl",
     "title": "YAML DSL",
-    "description": "Camel DSL with YAML",
+    "description": "Camel YAML DSL",
     "deprecated": false,
     "firstVersion": "3.9.0",
     "label": "dsl",
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/catalog/CatalogBaseCommand.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/catalog/CatalogBaseCommand.java
index c45719e55828..288d7ad3defb 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/catalog/CatalogBaseCommand.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/catalog/CatalogBaseCommand.java
@@ -161,7 +161,7 @@ public abstract class CatalogBaseCommand extends 
CamelCommand {
                                 .with(r -> r.name),
                         new 
Column().header("ARTIFACT-ID").visible(displayGav).dataAlign(HorizontalAlign.LEFT)
                                 .with(this::shortGav),
-                        new 
Column().header("LEVEL").dataAlign(HorizontalAlign.LEFT).with(r -> r.level),
+                        new 
Column().header("LEVEL").dataAlign(HorizontalAlign.LEFT).with(this::level),
                         new 
Column().header("NATIVE").dataAlign(HorizontalAlign.CENTER)
                                 .visible(RuntimeType.quarkus == 
runtime).with(this::nativeSupported),
                         new 
Column().header("SINCE").dataAlign(HorizontalAlign.RIGHT).with(r -> r.since),
@@ -209,6 +209,13 @@ public abstract class CatalogBaseCommand extends 
CamelCommand {
         }
     }
 
+    String level(Row r) {
+        if (r.deprecated) {
+            return "Deprecated";
+        }
+        return r.level;
+    }
+
     String nativeSupported(Row r) {
         return r.nativeSupported ? "x" : "";
     }
diff --git a/dsl/camel-xml-jaxb-dsl/src/main/docs/java-xml-jaxb-dsl.adoc 
b/dsl/camel-xml-jaxb-dsl/src/main/docs/java-xml-jaxb-dsl.adoc
index ca7e265d1f9a..92b657f53a14 100644
--- a/dsl/camel-xml-jaxb-dsl/src/main/docs/java-xml-jaxb-dsl.adoc
+++ b/dsl/camel-xml-jaxb-dsl/src/main/docs/java-xml-jaxb-dsl.adoc
@@ -3,7 +3,7 @@
 //Header attributes written by hand.
 :doctitle: Jaxb XML Dsl
 :artifactid: camel-xml-jaxb-dsl
-:description: Camel DSL with YAML
+:description: Camel DSL with XML using camel-jaxb
 :since: 3.9
 :supportlevel: Stable
 //Manually maintained attributes
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
index 0610a324838b..76125e1c797b 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
@@ -30,7 +30,7 @@
     <artifactId>camel-yaml-dsl</artifactId>
     <packaging>jar</packaging>
     <name>Camel :: YAML DSL</name>
-    <description>Camel DSL with YAML</description>
+    <description>Camel YAML DSL</description>
 
     <properties>
         <firstVersion>3.9.0</firstVersion>
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties
index b5719e555a37..3bd96f6a4b41 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties
@@ -4,5 +4,5 @@ groupId=org.apache.camel
 artifactId=camel-yaml-dsl
 version=4.18.0-SNAPSHOT
 projectName=Camel :: YAML DSL
-projectDescription=Camel DSL with YAML
+projectDescription=Camel YAML DSL
 annotations=routes.language=yaml
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/yaml-dsl.json 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/yaml-dsl.json
index ff750eeb734b..8137a6cedcfa 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/yaml-dsl.json
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/yaml-dsl.json
@@ -3,7 +3,7 @@
     "kind": "other",
     "name": "yaml-dsl",
     "title": "YAML DSL",
-    "description": "Camel DSL with YAML",
+    "description": "Camel YAML DSL",
     "deprecated": false,
     "firstVersion": "3.9.0",
     "label": "dsl",
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
index 997a1a104096..4329d8a472aa 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
@@ -2,7 +2,7 @@
 :doctitle: YAML DSL
 :shortname: yaml-dsl
 :artifactid: camel-yaml-dsl
-:description: Camel DSL with YAML
+:description: Camel YAML DSL
 :since: 3.9
 :supportlevel: Stable
 :tabs-sync-option:

Reply via email to