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 c9435f8043a CAMEL-20304: camel-nitrite - Deprecated
c9435f8043a is described below
commit c9435f8043aac9ba2c669660740e4317e5514919
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat May 18 16:42:42 2024 +0200
CAMEL-20304: camel-nitrite - Deprecated
---
.../resources/org/apache/camel/catalog/components/nitrite.json | 2 +-
components/camel-nitrite/pom.xml | 2 +-
.../META-INF/org/apache/camel/component/nitrite/nitrite.json | 2 +-
.../META-INF/services/org/apache/camel/component.properties | 2 +-
components/camel-nitrite/src/main/docs/nitrite-component.adoc | 5 +++--
.../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 2 ++
.../camel/builder/endpoint/dsl/NitriteEndpointBuilderFactory.java | 3 +++
7 files changed, 12 insertions(+), 6 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/nitrite.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/nitrite.json
index 433cd59cf93..907e24fa6c7 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/nitrite.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/nitrite.json
@@ -4,7 +4,7 @@
"name": "nitrite",
"title": "Nitrite",
"description": "Access Nitrite databases.",
- "deprecated": false,
+ "deprecated": true,
"firstVersion": "3.0.0",
"label": "database",
"javaType": "org.apache.camel.component.nitrite.NitriteComponent",
diff --git a/components/camel-nitrite/pom.xml b/components/camel-nitrite/pom.xml
index 5a9df626775..96b4f929676 100644
--- a/components/camel-nitrite/pom.xml
+++ b/components/camel-nitrite/pom.xml
@@ -29,7 +29,7 @@
<artifactId>camel-nitrite</artifactId>
<packaging>jar</packaging>
- <name>Camel :: Nitrite</name>
+ <name>Camel :: Nitrite (deprecated)</name>
<description>Camel Nitrite component</description>
<dependencies>
diff --git
a/components/camel-nitrite/src/generated/resources/META-INF/org/apache/camel/component/nitrite/nitrite.json
b/components/camel-nitrite/src/generated/resources/META-INF/org/apache/camel/component/nitrite/nitrite.json
index 433cd59cf93..907e24fa6c7 100644
---
a/components/camel-nitrite/src/generated/resources/META-INF/org/apache/camel/component/nitrite/nitrite.json
+++
b/components/camel-nitrite/src/generated/resources/META-INF/org/apache/camel/component/nitrite/nitrite.json
@@ -4,7 +4,7 @@
"name": "nitrite",
"title": "Nitrite",
"description": "Access Nitrite databases.",
- "deprecated": false,
+ "deprecated": true,
"firstVersion": "3.0.0",
"label": "database",
"javaType": "org.apache.camel.component.nitrite.NitriteComponent",
diff --git
a/components/camel-nitrite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
b/components/camel-nitrite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 28d7bd5086e..78025579cfd 100644
---
a/components/camel-nitrite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++
b/components/camel-nitrite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -3,5 +3,5 @@ components=nitrite
groupId=org.apache.camel
artifactId=camel-nitrite
version=4.7.0-SNAPSHOT
-projectName=Camel :: Nitrite
+projectName=Camel :: Nitrite (deprecated)
projectDescription=Camel Nitrite component
diff --git a/components/camel-nitrite/src/main/docs/nitrite-component.adoc
b/components/camel-nitrite/src/main/docs/nitrite-component.adoc
index 8809e6d2d90..92e7a86427e 100644
--- a/components/camel-nitrite/src/main/docs/nitrite-component.adoc
+++ b/components/camel-nitrite/src/main/docs/nitrite-component.adoc
@@ -1,10 +1,11 @@
-= Nitrite Component
+= Nitrite Component (deprecated)
:doctitle: Nitrite
:shortname: nitrite
:artifactid: camel-nitrite
:description: Access Nitrite databases.
:since: 3.0
-:supportlevel: Stable
+:supportlevel: Stable-deprecated
+:deprecated: *deprecated*
:tabs-sync-option:
:component-header: Both producer and consumer are supported
//Manually maintained attributes
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index a4f4808b6a5..06180c1db97 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -10601,6 +10601,7 @@ public class StaticEndpointBuilders {
* @param path database
* @return the dsl builder
*/
+ @Deprecated
public static NitriteEndpointBuilderFactory.NitriteEndpointBuilder
nitrite(String path) {
return nitrite("nitrite", path);
}
@@ -10622,6 +10623,7 @@ public class StaticEndpointBuilders {
* @param path database
* @return the dsl builder
*/
+ @Deprecated
public static NitriteEndpointBuilderFactory.NitriteEndpointBuilder
nitrite(String componentName, String path) {
return NitriteEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NitriteEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NitriteEndpointBuilderFactory.java
index 5f65af22f08..8ff2fc667e1 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NitriteEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NitriteEndpointBuilderFactory.java
@@ -554,6 +554,7 @@ public interface NitriteEndpointBuilderFactory {
*
* @return the dsl builder for the headers' name.
*/
+ @Deprecated
default NitriteHeaderNameBuilder nitrite() {
return NitriteHeaderNameBuilder.INSTANCE;
}
@@ -573,6 +574,7 @@ public interface NitriteEndpointBuilderFactory {
* @param path database
* @return the dsl builder
*/
+ @Deprecated
default NitriteEndpointBuilder nitrite(String path) {
return NitriteEndpointBuilderFactory.endpointBuilder("nitrite",
path);
}
@@ -594,6 +596,7 @@ public interface NitriteEndpointBuilderFactory {
* @param path database
* @return the dsl builder
*/
+ @Deprecated
default NitriteEndpointBuilder nitrite(String componentName, String
path) {
return
NitriteEndpointBuilderFactory.endpointBuilder(componentName, path);
}