This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch dupother
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/dupother by this push:
new cb6428b7643 CAMEL-21632: camel-spring-xml - Fix XSD to not include
duplicate ##other entry that is caused by the parser support for importing
legacy spring or blueprint xml files for migration and tooling purposes. Added
XSD validation test to validate the generated XSD onwards. Thanks to Tobias
Kleinschmidt for validation example
cb6428b7643 is described below
commit cb6428b764390b849c95ec546c793da206dc627a
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jan 20 14:18:34 2025 +0100
CAMEL-21632: camel-spring-xml - Fix XSD to not include duplicate ##other
entry that is caused by the parser support for importing legacy spring or
blueprint xml files for migration and tooling purposes. Added XSD validation
test to validate the generated XSD onwards. Thanks to Tobias Kleinschmidt for
validation example
---
.../src/main/java/org/apache/camel/model/app/BeansDefinition.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/app/BeansDefinition.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/app/BeansDefinition.java
index 40f0522dbfe..dd9ab235368 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/app/BeansDefinition.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/app/BeansDefinition.java
@@ -136,7 +136,8 @@ public class BeansDefinition {
}
/**
- * Spring XML beans
+ * Support for legacy Spring beans and Blueprint bean files to be parsed
and loaded for migration and tooling
+ * effort.
*/
public void setSpringOrBlueprintBeans(List<Element>
springOrBlueprintBeans) {
this.springOrBlueprintBeans = springOrBlueprintBeans;