This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch CAMEL-20199/virtual-threads-config
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1d41540a71547a20c0e31b6f1750cf8695371280
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Mar 6 14:29:44 2026 +0100

    CAMEL-20199: Regenerate missing generated files
---
 .../camel/catalog/main/camel-main-configuration-metadata.json      | 1 +
 .../apache/camel/main/MainConfigurationPropertiesConfigurer.java   | 7 +++++++
 .../resources/META-INF/camel-main-configuration-metadata.json      | 1 +
 core/camel-main/src/main/docs/main.adoc                            | 3 ++-
 4 files changed, 11 insertions(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
index e0e8c6b15390..4907b8539795 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
@@ -155,6 +155,7 @@
     { "name": "camel.main.useDataType", "required": false, "description": 
"Whether to enable using data type on Camel messages. Data type are automatic 
turned on if one ore more routes has been explicit configured with input and 
output types. Otherwise data type is default off.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.main.useMdcLogging", "required": false, "description": 
"To turn on MDC logging", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.main.uuidGenerator", "required": false, "description": 
"UUID generator to use. default (32 bytes), short (16 bytes), classic (32 bytes 
or longer), simple (long incrementing counter), off (turned off for exchanges - 
only intended for performance profiling)", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "enum", 
"javaType": "java.lang.String", "defaultValue": "default", "secret": false, 
"enum": [ "classic", "default", "short", "simple",  [...]
+    { "name": "camel.main.virtualThreadsEnabled", "required": false, 
"description": "Whether to enable virtual threads when creating thread pools. 
When enabled, Camel will use virtual threads instead of platform threads for 
its thread pools. This can also be enabled via the JVM system property {code 
camel.threads.virtual.enabled=true} . This option must be read early during 
bootstrap, so it is set as a system property before thread pools are created.", 
"sourceType": "org.apache.camel.mai [...]
     { "name": "camel.debug.bodyIncludeFiles", "required": false, 
"description": "Whether to include the message body of file based messages. The 
overhead is that the file content has to be read from the file.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": true, "secret": false },
     { "name": "camel.debug.bodyIncludeStreams", "required": false, 
"description": "Whether to include the message body of stream based messages. 
If enabled then beware the stream may not be re-readable later. See more about 
Stream Caching.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.debug.bodyMaxChars", "required": false, "description": 
"To limit the message body to a maximum size in the traced message. Use 0 or 
negative value to use unlimited size.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "integer", 
"javaType": "int", "defaultValue": 32768, "secret": false },
diff --git 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
index 5ee376adff5d..5a0ac2359a10 100644
--- 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
+++ 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
@@ -148,6 +148,7 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         map.put("UseDataType", boolean.class);
         map.put("UseMdcLogging", boolean.class);
         map.put("UuidGenerator", java.lang.String.class);
+        map.put("VirtualThreadsEnabled", boolean.class);
         ALL_OPTIONS = map;
     }
 
@@ -401,6 +402,8 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "useMdcLogging": target.setUseMdcLogging(property(camelContext, 
boolean.class, value)); return true;
         case "uuidgenerator":
         case "uuidGenerator": target.setUuidGenerator(property(camelContext, 
java.lang.String.class, value)); return true;
+        case "virtualthreadsenabled":
+        case "virtualThreadsEnabled": 
target.setVirtualThreadsEnabled(property(camelContext, boolean.class, value)); 
return true;
         default: return false;
         }
     }
@@ -659,6 +662,8 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "useMdcLogging": return boolean.class;
         case "uuidgenerator":
         case "uuidGenerator": return java.lang.String.class;
+        case "virtualthreadsenabled":
+        case "virtualThreadsEnabled": return boolean.class;
         default: return null;
         }
     }
@@ -913,6 +918,8 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "useMdcLogging": return target.isUseMdcLogging();
         case "uuidgenerator":
         case "uuidGenerator": return target.getUuidGenerator();
+        case "virtualthreadsenabled":
+        case "virtualThreadsEnabled": return target.isVirtualThreadsEnabled();
         default: return null;
         }
     }
diff --git 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
index e0e8c6b15390..4907b8539795 100644
--- 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
+++ 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
@@ -155,6 +155,7 @@
     { "name": "camel.main.useDataType", "required": false, "description": 
"Whether to enable using data type on Camel messages. Data type are automatic 
turned on if one ore more routes has been explicit configured with input and 
output types. Otherwise data type is default off.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.main.useMdcLogging", "required": false, "description": 
"To turn on MDC logging", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.main.uuidGenerator", "required": false, "description": 
"UUID generator to use. default (32 bytes), short (16 bytes), classic (32 bytes 
or longer), simple (long incrementing counter), off (turned off for exchanges - 
only intended for performance profiling)", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "enum", 
"javaType": "java.lang.String", "defaultValue": "default", "secret": false, 
"enum": [ "classic", "default", "short", "simple",  [...]
+    { "name": "camel.main.virtualThreadsEnabled", "required": false, 
"description": "Whether to enable virtual threads when creating thread pools. 
When enabled, Camel will use virtual threads instead of platform threads for 
its thread pools. This can also be enabled via the JVM system property {code 
camel.threads.virtual.enabled=true} . This option must be read early during 
bootstrap, so it is set as a system property before thread pools are created.", 
"sourceType": "org.apache.camel.mai [...]
     { "name": "camel.debug.bodyIncludeFiles", "required": false, 
"description": "Whether to include the message body of file based messages. The 
overhead is that the file content has to be read from the file.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": true, "secret": false },
     { "name": "camel.debug.bodyIncludeStreams", "required": false, 
"description": "Whether to include the message body of stream based messages. 
If enabled then beware the stream may not be re-readable later. See more about 
Stream Caching.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": false, "secret": false },
     { "name": "camel.debug.bodyMaxChars", "required": false, "description": 
"To limit the message body to a maximum size in the traced message. Use 0 or 
negative value to use unlimited size.", "sourceType": 
"org.apache.camel.main.DebuggerConfigurationProperties", "type": "integer", 
"javaType": "int", "defaultValue": 32768, "secret": false },
diff --git a/core/camel-main/src/main/docs/main.adoc 
b/core/camel-main/src/main/docs/main.adoc
index 179bc82bb8e3..2d71b3062514 100644
--- a/core/camel-main/src/main/docs/main.adoc
+++ b/core/camel-main/src/main/docs/main.adoc
@@ -19,7 +19,7 @@ The following tables lists all the options:
 
 // main options: START
 === Camel Main configurations
-The camel.main supports 126 options, which are listed below.
+The camel.main supports 127 options, which are listed below.
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
@@ -150,6 +150,7 @@ The camel.main supports 126 options, which are listed below.
 | *camel.main.useDataType* | Whether to enable using data type on Camel 
messages. Data type are automatic turned on if one ore more routes has been 
explicit configured with input and output types. Otherwise data type is default 
off. | false | boolean
 | *camel.main.useMdcLogging* | To turn on MDC logging | false | boolean
 | *camel.main.uuidGenerator* | UUID generator to use. default (32 bytes), 
short (16 bytes), classic (32 bytes or longer), simple (long incrementing 
counter), off (turned off for exchanges - only intended for performance 
profiling) | default | String
+| *camel.main.virtualThreads{zwsp}Enabled* | Whether to enable virtual threads 
when creating thread pools. When enabled, Camel will use virtual threads 
instead of platform threads for its thread pools. This can also be enabled via 
the JVM system property {code camel.threads.virtual.enabled=true} . This option 
must be read early during bootstrap, so it is set as a system property before 
thread pools are created. | false | boolean
 |===
 
 

Reply via email to