You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/07/05 12:24:42 UTC
[camel] branch main updated: camel-core - Deprecate proxy in the
old xml-dsl for spring/blueprint as its not in use anymore.
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 78bfd04 camel-core - Deprecate proxy in the old xml-dsl for spring/blueprint as its not in use anymore.
78bfd04 is described below
commit 78bfd041a364ee660be3a11fb4d891de5433c034
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jul 5 14:24:02 2021 +0200
camel-core - Deprecate proxy in the old xml-dsl for spring/blueprint as its not in use anymore.
---
.../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
.../src/generated/resources/org/apache/camel/core/xml/proxy.json | 2 +-
.../java/org/apache/camel/core/xml/CamelProxyFactoryDefinition.java | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
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 8d9ec26..b4767ff 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
@@ -1049,7 +1049,7 @@ Serialize and deserialize Java objects using Google's Protocol buffers.
<xs:element name="proxy" type="tns:camelProxyFactoryDefinition">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
-To proxy a service call using a interface
+Deprecated: To proxy a service call using a interface
]]></xs:documentation>
</xs:annotation>
</xs:element>
diff --git a/core/camel-core-xml/src/generated/resources/org/apache/camel/core/xml/proxy.json b/core/camel-core-xml/src/generated/resources/org/apache/camel/core/xml/proxy.json
index 57567cb..f297fb4 100644
--- a/core/camel-core-xml/src/generated/resources/org/apache/camel/core/xml/proxy.json
+++ b/core/camel-core-xml/src/generated/resources/org/apache/camel/core/xml/proxy.json
@@ -4,7 +4,7 @@
"name": "proxy",
"title": "Proxy",
"description": "To proxy a service call using a interface",
- "deprecated": false,
+ "deprecated": true,
"label": "spring,configuration",
"javaType": "org.apache.camel.core.xml.CamelProxyFactoryDefinition",
"input": false,
diff --git a/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/CamelProxyFactoryDefinition.java b/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/CamelProxyFactoryDefinition.java
index 207dfc8..c1ccc67 100644
--- a/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/CamelProxyFactoryDefinition.java
+++ b/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/CamelProxyFactoryDefinition.java
@@ -27,6 +27,7 @@ import org.apache.camel.spi.Metadata;
*/
@Metadata(label = "spring,configuration")
@XmlRootElement(name = "proxy")
+@Deprecated
public class CamelProxyFactoryDefinition extends IdentifiedType {
@XmlAttribute