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 6fd2d5768b0 CAMEL-22066: Make specialized spring beans xml parsing 
deprecated as its only in camel-jbang and not general available.
6fd2d5768b0 is described below

commit 6fd2d5768b07bb1bb2c7b0e388542a3e74adab50
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu May 15 11:08:34 2025 +0200

    CAMEL-22066: Make specialized spring beans xml parsing deprecated as its 
only in camel-jbang and not general available.
---
 dsl/camel-xml-io-dsl/src/main/docs/java-xml-io-dsl.adoc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dsl/camel-xml-io-dsl/src/main/docs/java-xml-io-dsl.adoc 
b/dsl/camel-xml-io-dsl/src/main/docs/java-xml-io-dsl.adoc
index a5d1697e32f..469a7bfddb8 100644
--- a/dsl/camel-xml-io-dsl/src/main/docs/java-xml-io-dsl.adoc
+++ b/dsl/camel-xml-io-dsl/src/main/docs/java-xml-io-dsl.adoc
@@ -70,6 +70,10 @@ It is now possible with `xml-io-dsl` to declare some beans 
to be bound to xref:m
 </camel>
 ----
 
+=== Loading Spring XML files with embedded beans
+
+**Deprecated**
+
 While keeping all the benefits of fast XML parser used by `xml-io-dsl`, Camel 
can also process XML elements declared in other XML namespaces and process them 
separately. With this mechanism it is possible to include XML elements using 
Spring's `http://www.springframework.org/schema/beans` namespace.
 
 This brings the flexibility of Spring Beans into 
xref:components:others:main.adoc[Camel Main] without actually running any 
Spring Application Context (or Spring Boot). When elements from Spring 
namespace are found, they are used to populate and configure an instance of 
`org.springframework.beans.factory.support.DefaultListableBeanFactory` and 
leverage Spring dependency injection to wire the beans together. These beans 
are then exposed through normal xref:manual::registry.adoc[Camel Regis [...]

Reply via email to