You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2026/05/27 07:24:28 UTC
(camel-quarkus) 24/39: Remove redundant camelVirtualThreadSupportSystemProperty build step
This is an automated email from the ASF dual-hosted git repository.
JiriOndrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit bf8ce0e73f44a0e84fd50d5c585e60e276dcabc2
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed May 20 14:42:49 2026 +0100
Remove redundant camelVirtualThreadSupportSystemProperty build step
---
.../apache/camel/quarkus/core/deployment/CamelProcessor.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
index 3d1b78660f..941b4d092f 100644
--- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
+++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
@@ -42,7 +42,6 @@ import io.quarkus.deployment.annotations.Overridable;
import io.quarkus.deployment.annotations.Record;
import io.quarkus.deployment.builditem.ApplicationArchivesBuildItem;
import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
-import io.quarkus.deployment.builditem.SystemPropertyBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
import io.quarkus.deployment.pkg.steps.NativeOrNativeSourcesBuild;
@@ -78,7 +77,6 @@ import org.apache.camel.quarkus.core.deployment.util.PathFilter;
import org.apache.camel.quarkus.core.util.FileUtils;
import org.apache.camel.spi.TypeConverterLoader;
import org.apache.camel.spi.TypeConverterRegistry;
-import org.eclipse.microprofile.config.ConfigProvider;
import org.jboss.jandex.AnnotationTarget;
import org.jboss.jandex.ClassInfo;
import org.jboss.jandex.DotName;
@@ -511,14 +509,6 @@ class CamelProcessor {
return new CamelModelReifierFactoryBuildItem(recorder.modelReifierFactory());
}
- @BuildStep
- public SystemPropertyBuildItem camelVirtualThreadSupportSystemProperty() {
- // Need to set camel.threads.virtual.enabled early as possible as the CamelContext is constructed during static init phase
- return new SystemPropertyBuildItem("camel.threads.virtual.enabled", ConfigProvider.getConfig()
- .getOptionalValue("camel.main.virtualThreadsEnabled", String.class)
- .orElse("false"));
- }
-
/**
* Useful for identifying Camel services that are potentially not covered by inclusion patterns
*/