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 59eb7671185 CAMEL-21042: camel-guave-eventbus - Deprecated
59eb7671185 is described below
commit 59eb7671185abd9eea3c6be884c3aa195b328e88
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Aug 8 12:08:29 2024 +0200
CAMEL-21042: camel-guave-eventbus - Deprecated
---
.../org/apache/camel/catalog/components/guava-eventbus.json | 2 +-
components/camel-guava-eventbus/pom.xml | 2 +-
.../org/apache/camel/component/guava/eventbus/guava-eventbus.json | 2 +-
.../META-INF/services/org/apache/camel/component.properties | 2 +-
.../camel-guava-eventbus/src/main/docs/guava-eventbus-component.adoc | 5 +++--
.../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 2 ++
.../builder/endpoint/dsl/GuavaEventBusEndpointBuilderFactory.java | 2 ++
7 files changed, 11 insertions(+), 6 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/guava-eventbus.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/guava-eventbus.json
index 5c09402f992..2032fe2da42 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/guava-eventbus.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/guava-eventbus.json
@@ -4,7 +4,7 @@
"name": "guava-eventbus",
"title": "Guava EventBus",
"description": "Send and receive messages to\/from Guava EventBus.",
- "deprecated": false,
+ "deprecated": true,
"firstVersion": "2.10.0",
"label": "messaging",
"javaType":
"org.apache.camel.component.guava.eventbus.GuavaEventBusComponent",
diff --git a/components/camel-guava-eventbus/pom.xml
b/components/camel-guava-eventbus/pom.xml
index d2e9a31bf12..896a5318523 100644
--- a/components/camel-guava-eventbus/pom.xml
+++ b/components/camel-guava-eventbus/pom.xml
@@ -28,7 +28,7 @@
<artifactId>camel-guava-eventbus</artifactId>
<packaging>jar</packaging>
- <name>Camel :: Guava-EventBus</name>
+ <name>Camel :: Guava-EventBus (deprecated)</name>
<description>Camel Guava EventBus support</description>
<properties>
diff --git
a/components/camel-guava-eventbus/src/generated/resources/META-INF/org/apache/camel/component/guava/eventbus/guava-eventbus.json
b/components/camel-guava-eventbus/src/generated/resources/META-INF/org/apache/camel/component/guava/eventbus/guava-eventbus.json
index 5c09402f992..2032fe2da42 100644
---
a/components/camel-guava-eventbus/src/generated/resources/META-INF/org/apache/camel/component/guava/eventbus/guava-eventbus.json
+++
b/components/camel-guava-eventbus/src/generated/resources/META-INF/org/apache/camel/component/guava/eventbus/guava-eventbus.json
@@ -4,7 +4,7 @@
"name": "guava-eventbus",
"title": "Guava EventBus",
"description": "Send and receive messages to\/from Guava EventBus.",
- "deprecated": false,
+ "deprecated": true,
"firstVersion": "2.10.0",
"label": "messaging",
"javaType":
"org.apache.camel.component.guava.eventbus.GuavaEventBusComponent",
diff --git
a/components/camel-guava-eventbus/src/generated/resources/META-INF/services/org/apache/camel/component.properties
b/components/camel-guava-eventbus/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 8b58fb908a9..742cd5762e5 100644
---
a/components/camel-guava-eventbus/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++
b/components/camel-guava-eventbus/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -3,5 +3,5 @@ components=guava-eventbus
groupId=org.apache.camel
artifactId=camel-guava-eventbus
version=4.8.0-SNAPSHOT
-projectName=Camel :: Guava-EventBus
+projectName=Camel :: Guava-EventBus (deprecated)
projectDescription=Camel Guava EventBus support
diff --git
a/components/camel-guava-eventbus/src/main/docs/guava-eventbus-component.adoc
b/components/camel-guava-eventbus/src/main/docs/guava-eventbus-component.adoc
index 1ec5656d31f..f666a4d6ada 100644
---
a/components/camel-guava-eventbus/src/main/docs/guava-eventbus-component.adoc
+++
b/components/camel-guava-eventbus/src/main/docs/guava-eventbus-component.adoc
@@ -1,10 +1,11 @@
-= Guava EventBus Component
+= Guava EventBus Component (deprecated)
:doctitle: Guava EventBus
:shortname: guava-eventbus
:artifactid: camel-guava-eventbus
:description: Send and receive messages to/from Guava EventBus.
:since: 2.10
-: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 65d14f66965..616849c475f 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
@@ -5813,6 +5813,7 @@ public class StaticEndpointBuilders {
* @param path eventBusRef
* @return the dsl builder
*/
+ @Deprecated
public static
GuavaEventBusEndpointBuilderFactory.GuavaEventBusEndpointBuilder
guavaEventbus(String path) {
return guavaEventbus("guava-eventbus", path);
}
@@ -5834,6 +5835,7 @@ public class StaticEndpointBuilders {
* @param path eventBusRef
* @return the dsl builder
*/
+ @Deprecated
public static
GuavaEventBusEndpointBuilderFactory.GuavaEventBusEndpointBuilder
guavaEventbus(String componentName, String path) {
return
GuavaEventBusEndpointBuilderFactory.endpointBuilder(componentName, path);
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GuavaEventBusEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GuavaEventBusEndpointBuilderFactory.java
index 7bf1bc6fa35..1afdb54f705 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GuavaEventBusEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GuavaEventBusEndpointBuilderFactory.java
@@ -518,6 +518,7 @@ public interface GuavaEventBusEndpointBuilderFactory {
* @param path eventBusRef
* @return the dsl builder
*/
+ @Deprecated
default GuavaEventBusEndpointBuilder guavaEventbus(String path) {
return
GuavaEventBusEndpointBuilderFactory.endpointBuilder("guava-eventbus", path);
}
@@ -539,6 +540,7 @@ public interface GuavaEventBusEndpointBuilderFactory {
* @param path eventBusRef
* @return the dsl builder
*/
+ @Deprecated
default GuavaEventBusEndpointBuilder guavaEventbus(String
componentName, String path) {
return
GuavaEventBusEndpointBuilderFactory.endpointBuilder(componentName, path);
}