This is an automated email from the ASF dual-hosted git repository.

luigidemasi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7fd1d0ae37b7c016aa7ed673d31168120bf159b6
Author: Luigi De Masi <[email protected]>
AuthorDate: Tue Sep 29 12:59:46 2026 +0200

    CAMEL-24988: Fix XML namespace in Switch destination example
    
    Use the XML IO namespace for the standalone routes document so the catalog 
documentation schema checks validate it.
    
    Co-authored-by: Codex <[email protected]>
    Signed-off-by: Luigi De Masi <[email protected]>
---
 .../generated/resources/org/apache/camel/catalog/docs/switch-eip.adoc   | 2 +-
 core/camel-core-engine/src/main/docs/modules/eips/pages/switch-eip.adoc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/switch-eip.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/switch-eip.adoc
index d53fc1cf089b..610202d2c2c0 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/switch-eip.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/switch-eip.adoc
@@ -376,7 +376,7 @@ XML::
 +
 [source,xml]
 ----
-<routes xmlns="http://camel.apache.org/schema/spring";>
+<routes xmlns="http://camel.apache.org/schema/xml-io";>
     <route><from uri="direct:billing"/><log message="Billing: 
${body}"/></route>
     <route><from uri="direct:technical"/><log message="Technical: 
${body}"/></route>
     <route><from uri="direct:urgent-billing"/><log message="Urgent billing: 
${body}"/></route>
diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/switch-eip.adoc 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/switch-eip.adoc
index d53fc1cf089b..610202d2c2c0 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/switch-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/switch-eip.adoc
@@ -376,7 +376,7 @@ XML::
 +
 [source,xml]
 ----
-<routes xmlns="http://camel.apache.org/schema/spring";>
+<routes xmlns="http://camel.apache.org/schema/xml-io";>
     <route><from uri="direct:billing"/><log message="Billing: 
${body}"/></route>
     <route><from uri="direct:technical"/><log message="Technical: 
${body}"/></route>
     <route><from uri="direct:urgent-billing"/><log message="Urgent billing: 
${body}"/></route>

Reply via email to