diff --git a/extensions/componentdsl/deployment/src/main/java/org/apache/camel/quarkus/componentdsl/deployment/ComponentDSLProcessor.java b/extensions/componentdsl/deployment/src/main/java/org/apache/camel/quarkus/componentdsl/deployment/ComponentDSLProcessor.java
index a9410d763d65..b3fab9f3aa09 100644
--- a/extensions/componentdsl/deployment/src/main/java/org/apache/camel/quarkus/componentdsl/deployment/ComponentDSLProcessor.java
+++ b/extensions/componentdsl/deployment/src/main/java/org/apache/camel/quarkus/componentdsl/deployment/ComponentDSLProcessor.java
@@ -18,12 +18,18 @@
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
+import org.jboss.logging.Logger;
class ComponentDSLProcessor {
+ private static final Logger LOG = Logger.getLogger(ComponentDSLProcessor.class);
+
private static final String FEATURE = "camel-componentdsl";
@BuildStep
FeatureBuildItem feature() {
+ // see https://github.com/apache/camel-quarkus/issues/2354
+ LOG.warnf(
+ "camel-quarkus-componentdsl is deprecated and will be removed in the future; use camel-quarkus-core instead");
return new FeatureBuildItem(FEATURE);
}
}
diff --git a/extensions/componentdsl/runtime/pom.xml b/extensions/componentdsl/runtime/pom.xml
index 998ece621515..546bdb3ff5e3 100644
--- a/extensions/componentdsl/runtime/pom.xml
+++ b/extensions/componentdsl/runtime/pom.xml
@@ -33,6 +33,7 @@
1.0.0
1.0.0
+ true
diff --git a/extensions/componentdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/componentdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index 084e07f39fcd..b968b502a116 100644
--- a/extensions/componentdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/extensions/componentdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -29,3 +29,4 @@ metadata:
- "integration"
status:
- "stable"
+ - "deprecated"
\ No newline at end of file
diff --git a/extensions/endpointdsl/deployment/src/main/java/org/apache/camel/quarkus/endpointdsl/deployment/EndpointDSLProcessor.java b/extensions/endpointdsl/deployment/src/main/java/org/apache/camel/quarkus/endpointdsl/deployment/EndpointDSLProcessor.java
index b8b6867c6f3e..499dd6c68cbe 100644
--- a/extensions/endpointdsl/deployment/src/main/java/org/apache/camel/quarkus/endpointdsl/deployment/EndpointDSLProcessor.java
+++ b/extensions/endpointdsl/deployment/src/main/java/org/apache/camel/quarkus/endpointdsl/deployment/EndpointDSLProcessor.java
@@ -18,12 +18,17 @@
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
+import org.jboss.logging.Logger;
class EndpointDSLProcessor {
+ private static final Logger LOG = Logger.getLogger(EndpointDSLProcessor.class);
private static final String FEATURE = "camel-endpointdsl";
@BuildStep
FeatureBuildItem feature() {
+ // see https://github.com/apache/camel-quarkus/issues/2354
+ LOG.warnf(
+ "camel-quarkus-endpointdsl is deprecated and will be removed in the future; use camel-quarkus-core instead");
return new FeatureBuildItem(FEATURE);
}
}
diff --git a/extensions/endpointdsl/runtime/pom.xml b/extensions/endpointdsl/runtime/pom.xml
index 9b304e3b0a86..b3798207a00e 100644
--- a/extensions/endpointdsl/runtime/pom.xml
+++ b/extensions/endpointdsl/runtime/pom.xml
@@ -33,6 +33,7 @@
1.0.0
1.0.0
+ true
diff --git a/extensions/endpointdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/endpointdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index 259450909813..907f0be3a654 100644
--- a/extensions/endpointdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/extensions/endpointdsl/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -29,3 +29,4 @@ metadata:
- "integration"
status:
- "stable"
+ - "deprecated"
\ No newline at end of file