This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new bdfd016f24 Remove redundant camelVirtualThreadSupportSystemProperty
build step
bdfd016f24 is described below
commit bdfd016f242cdc28144cbc92f6601d9752ddcaff
Author: James Netherton <[email protected]>
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
*/