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

commit 3c80b51ba543e4de24c73d81ee380bcdc2594ffc
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 27 11:02:21 2026 +0100

    CAMEL-23832: camel-once - improve the component and option descriptions
    
    New texts for the component description, the 2 component options delay and 
languages, and 6 endpoint options (the
    component has no headers). The old texts did not say how a value is turned 
into a Boolean, a number, the text of a
    resource or the result of a language:NAME: expression, in which order the 
consumer sets the values, or that the delay
    counts from the start of the route and the component delay is the default 
of the endpoint delay.
    
    Documentation only, no behavior change. The component JSON, the catalog 
copy, the doc page header and the DSL are
    regenerated. camel-once is marked as done in 
tasks/component-descriptions.md.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../org/apache/camel/catalog/components/once.json  |  18 ++--
 .../apache/camel/catalog/docs/once-component.adoc  |   2 +-
 .../org/apache/camel/component/once/once.json      |  18 ++--
 .../camel-once/src/main/docs/once-component.adoc   |   2 +-
 .../apache/camel/component/once/OnceComponent.java |  18 ++--
 .../apache/camel/component/once/OnceEndpoint.java  |  57 ++++++------
 .../component/ComponentsBuilderFactory.java        |   4 +-
 .../component/dsl/OnceComponentBuilderFactory.java |  20 +++--
 .../builder/endpoint/StaticEndpointBuilders.java   |  14 +--
 .../endpoint/dsl/OnceEndpointBuilderFactory.java   | 100 +++++++++++++--------
 tasks/component-descriptions.md                    |   2 +-
 11 files changed, 140 insertions(+), 115 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/once.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/once.json
index 67ca6520e370..c70a6cf29dc8 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/once.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/once.json
@@ -3,7 +3,7 @@
     "kind": "component",
     "name": "once",
     "title": "Once",
-    "description": "Trigger a single message only once at startup (useful for 
development and testing purposes).",
+    "description": "Send a single message to the route once, after the route 
starts, which is useful for development and testing.",
     "deprecated": false,
     "firstVersion": "4.17.0",
     "label": "core,scheduling",
@@ -26,21 +26,21 @@
   "componentProperties": {
     "bridgeErrorHandler": { "index": 0, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
     "autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-    "delay": { "index": 2, "kind": "property", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds to wait before 
triggering. Use 0 or negative to fire as soon as possible. The default value is 
1000." },
-    "languages": { "index": 3, "kind": "property", "displayName": "Languages", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Whether Camel languages are 
supported such as simple,groovy." }
+    "delay": { "index": 2, "kind": "property", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The default number of milliseconds that 
an endpoint of this component waits, after its route has started, before the 
consumer sends the message. The delay option of the endpoint replaces it. Use 0 
or a negative value to send  [...]
+    "languages": { "index": 3, "kind": "property", "displayName": "Languages", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Whether a value of the body, 
headers, variables or exchangeProperties option that starts with language:NAME: 
is evaluated as an expression of the Camel language NAME, for example 
language:simple:${camelId}. If fals [...]
   },
   "bodyTypes": {
     "consumerOut": { "carriers": [ "null" ], "dependsOn": [ "body" ], 
"description": "No body without the body option. The body option gives its 
text, the text of a file:, classpath: or http: resource, a Boolean for true or 
false, a number for a whole number, or with language:NAME: the result of the 
expression" }
   },
   "properties": {
-    "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The logical name" },
-    "body": { "index": 1, "kind": "parameter", "displayName": "Body", "group": 
"consumer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The data to use as message body. 
You can externalize the data by using file: or classpath: as prefix and specify 
the location of the file." },
-    "headers": { "index": 2, "kind": "parameter", "displayName": "Headers", 
"group": "consumer", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.String>", "prefix": 
"header.", "multiValue": true, "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "The data to use 
as message headers as key=value pairs. You can externalize the data by using 
file: or classpath: as prefix and specify  [...]
+    "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "A name of your choice for the endpoint. The consumer also uses 
it in the name of the thread that sends the message." },
+    "body": { "index": 1, "kind": "parameter", "displayName": "Body", "group": 
"consumer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The body of the message. The text 
true or false (in any case) becomes a Boolean, and a whole number becomes an 
Integer, or a Long if it is too large for an Integer. A value with a resource 
prefix such as file:, clas [...]
+    "headers": { "index": 2, "kind": "parameter", "displayName": "Headers", 
"group": "consumer", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.String>", "prefix": 
"header.", "multiValue": true, "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "The headers of 
the message, as key=value pairs, for example header.foo=abc. Each value is 
converted, loaded from a resource or evaluate [...]
     "bridgeErrorHandler": { "index": 3, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
     "exceptionHandler": { "index": 4, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By def [...]
     "exchangePattern": { "index": 5, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
-    "delay": { "index": 6, "kind": "parameter", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds to wait before 
triggering. The default value is 1000." },
-    "exchangeProperties": { "index": 7, "kind": "parameter", "displayName": 
"Exchange Properties", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "exchangeProperty.", "multiValue": true, 
"deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The data to use as exchange 
properties as key=value pairs. You can externalize the data by usi [...]
-    "variables": { "index": 8, "kind": "parameter", "displayName": 
"Variables", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "variable.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "supportFileReference": true, 
"description": "The data to use as exchange variables as key=value pairs. You 
can externalize the data by using file: or classpath: as pr [...]
+    "delay": { "index": 6, "kind": "parameter", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds that the 
consumer waits, after the route has started, before it sends the message. Use 0 
or a negative value to send the message at once. If not set, the delay option 
of the component applies." },
+    "exchangeProperties": { "index": 7, "kind": "parameter", "displayName": 
"Exchange Properties", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "exchangeProperty.", "multiValue": true, 
"deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The exchange properties, as 
key=value pairs, for example exchangeProperty.foo=abc. Each value  [...]
+    "variables": { "index": 8, "kind": "parameter", "displayName": 
"Variables", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "variable.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "supportFileReference": true, 
"description": "The exchange variables, as key=value pairs, for example 
variable.foo=abc. Each value is converted, loaded from a resource [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/once-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/once-component.adoc
index 0587dcfad165..3c4d86fd18c2 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/once-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/once-component.adoc
@@ -2,7 +2,7 @@
 :doctitle: Once
 :shortname: once
 :artifactid: camel-once
-:description: Trigger a single message only once at startup (useful for 
development and testing purposes).
+:description: Send a single message to the route once, after the route starts, 
which is useful for development and testing.
 :since: 4.17
 :supportlevel: Stable
 :tabs-sync-option:
diff --git 
a/components/camel-once/src/generated/resources/META-INF/org/apache/camel/component/once/once.json
 
b/components/camel-once/src/generated/resources/META-INF/org/apache/camel/component/once/once.json
index 67ca6520e370..c70a6cf29dc8 100644
--- 
a/components/camel-once/src/generated/resources/META-INF/org/apache/camel/component/once/once.json
+++ 
b/components/camel-once/src/generated/resources/META-INF/org/apache/camel/component/once/once.json
@@ -3,7 +3,7 @@
     "kind": "component",
     "name": "once",
     "title": "Once",
-    "description": "Trigger a single message only once at startup (useful for 
development and testing purposes).",
+    "description": "Send a single message to the route once, after the route 
starts, which is useful for development and testing.",
     "deprecated": false,
     "firstVersion": "4.17.0",
     "label": "core,scheduling",
@@ -26,21 +26,21 @@
   "componentProperties": {
     "bridgeErrorHandler": { "index": 0, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
     "autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-    "delay": { "index": 2, "kind": "property", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds to wait before 
triggering. Use 0 or negative to fire as soon as possible. The default value is 
1000." },
-    "languages": { "index": 3, "kind": "property", "displayName": "Languages", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Whether Camel languages are 
supported such as simple,groovy." }
+    "delay": { "index": 2, "kind": "property", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The default number of milliseconds that 
an endpoint of this component waits, after its route has started, before the 
consumer sends the message. The delay option of the endpoint replaces it. Use 0 
or a negative value to send  [...]
+    "languages": { "index": 3, "kind": "property", "displayName": "Languages", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Whether a value of the body, 
headers, variables or exchangeProperties option that starts with language:NAME: 
is evaluated as an expression of the Camel language NAME, for example 
language:simple:${camelId}. If fals [...]
   },
   "bodyTypes": {
     "consumerOut": { "carriers": [ "null" ], "dependsOn": [ "body" ], 
"description": "No body without the body option. The body option gives its 
text, the text of a file:, classpath: or http: resource, a Boolean for true or 
false, a number for a whole number, or with language:NAME: the result of the 
expression" }
   },
   "properties": {
-    "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The logical name" },
-    "body": { "index": 1, "kind": "parameter", "displayName": "Body", "group": 
"consumer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The data to use as message body. 
You can externalize the data by using file: or classpath: as prefix and specify 
the location of the file." },
-    "headers": { "index": 2, "kind": "parameter", "displayName": "Headers", 
"group": "consumer", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.String>", "prefix": 
"header.", "multiValue": true, "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "The data to use 
as message headers as key=value pairs. You can externalize the data by using 
file: or classpath: as prefix and specify  [...]
+    "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "A name of your choice for the endpoint. The consumer also uses 
it in the name of the thread that sends the message." },
+    "body": { "index": 1, "kind": "parameter", "displayName": "Body", "group": 
"consumer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The body of the message. The text 
true or false (in any case) becomes a Boolean, and a whole number becomes an 
Integer, or a Long if it is too large for an Integer. A value with a resource 
prefix such as file:, clas [...]
+    "headers": { "index": 2, "kind": "parameter", "displayName": "Headers", 
"group": "consumer", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.String>", "prefix": 
"header.", "multiValue": true, "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "The headers of 
the message, as key=value pairs, for example header.foo=abc. Each value is 
converted, loaded from a resource or evaluate [...]
     "bridgeErrorHandler": { "index": 3, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
     "exceptionHandler": { "index": 4, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By def [...]
     "exchangePattern": { "index": 5, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
-    "delay": { "index": 6, "kind": "parameter", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds to wait before 
triggering. The default value is 1000." },
-    "exchangeProperties": { "index": 7, "kind": "parameter", "displayName": 
"Exchange Properties", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "exchangeProperty.", "multiValue": true, 
"deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The data to use as exchange 
properties as key=value pairs. You can externalize the data by usi [...]
-    "variables": { "index": 8, "kind": "parameter", "displayName": 
"Variables", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "variable.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "supportFileReference": true, 
"description": "The data to use as exchange variables as key=value pairs. You 
can externalize the data by using file: or classpath: as pr [...]
+    "delay": { "index": 6, "kind": "parameter", "displayName": "Delay", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1000, "description": "The number of milliseconds that the 
consumer waits, after the route has started, before it sends the message. Use 0 
or a negative value to send the message at once. If not set, the delay option 
of the component applies." },
+    "exchangeProperties": { "index": 7, "kind": "parameter", "displayName": 
"Exchange Properties", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "exchangeProperty.", "multiValue": true, 
"deprecated": false, "autowired": false, "secret": false, 
"supportFileReference": true, "description": "The exchange properties, as 
key=value pairs, for example exchangeProperty.foo=abc. Each value  [...]
+    "variables": { "index": 8, "kind": "parameter", "displayName": 
"Variables", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": "java.util.Map<java.lang.String, 
java.lang.String>", "prefix": "variable.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "supportFileReference": true, 
"description": "The exchange variables, as key=value pairs, for example 
variable.foo=abc. Each value is converted, loaded from a resource [...]
   }
 }
diff --git a/components/camel-once/src/main/docs/once-component.adoc 
b/components/camel-once/src/main/docs/once-component.adoc
index 0587dcfad165..3c4d86fd18c2 100644
--- a/components/camel-once/src/main/docs/once-component.adoc
+++ b/components/camel-once/src/main/docs/once-component.adoc
@@ -2,7 +2,7 @@
 :doctitle: Once
 :shortname: once
 :artifactid: camel-once
-:description: Trigger a single message only once at startup (useful for 
development and testing purposes).
+:description: Send a single message to the route once, after the route starts, 
which is useful for development and testing.
 :since: 4.17
 :supportlevel: Stable
 :tabs-sync-option:
diff --git 
a/components/camel-once/src/main/java/org/apache/camel/component/once/OnceComponent.java
 
b/components/camel-once/src/main/java/org/apache/camel/component/once/OnceComponent.java
index a2b5fe694962..bb73d4b64901 100644
--- 
a/components/camel-once/src/main/java/org/apache/camel/component/once/OnceComponent.java
+++ 
b/components/camel-once/src/main/java/org/apache/camel/component/once/OnceComponent.java
@@ -28,10 +28,17 @@ import org.apache.camel.util.PropertiesHelper;
 @Component("once")
 public class OnceComponent extends DefaultComponent {
 
-    @Metadata(label = "advanced", defaultValue = "1000")
+    @Metadata(label = "advanced", defaultValue = "1000",
+              description = "The default number of milliseconds that an 
endpoint of this component waits, after its route"
+                            + " has started, before the consumer sends the 
message. The delay option of the endpoint replaces"
+                            + " it. Use 0 or a negative value to send the 
message at once.")
     private long delay = 1000;
 
-    @Metadata(label = "advanced", defaultValue = "true")
+    @Metadata(label = "advanced", defaultValue = "true",
+              description = "Whether a value of the body, headers, variables 
or exchangeProperties option that starts with"
+                            + " language:NAME: is evaluated as an expression 
of the Camel language NAME, for example"
+                            + " language:simple:${camelId}. If false, or if 
NAME is not a known language, the consumer uses the"
+                            + " value as plain text, including the 
language:NAME: prefix.")
     private boolean languages = true;
 
     @Override
@@ -86,10 +93,6 @@ public class OnceComponent extends DefaultComponent {
         return delay;
     }
 
-    /**
-     * The number of milliseconds to wait before triggering. Use 0 or negative 
to fire as soon as possible. The default
-     * value is 1000.
-     */
     public void setDelay(long delay) {
         this.delay = delay;
     }
@@ -98,9 +101,6 @@ public class OnceComponent extends DefaultComponent {
         return languages;
     }
 
-    /**
-     * Whether Camel languages are supported such as simple,groovy.
-     */
     public void setLanguages(boolean languages) {
         this.languages = languages;
     }
diff --git 
a/components/camel-once/src/main/java/org/apache/camel/component/once/OnceEndpoint.java
 
b/components/camel-once/src/main/java/org/apache/camel/component/once/OnceEndpoint.java
index 80f93e91d942..b71bd2533576 100644
--- 
a/components/camel-once/src/main/java/org/apache/camel/component/once/OnceEndpoint.java
+++ 
b/components/camel-once/src/main/java/org/apache/camel/component/once/OnceEndpoint.java
@@ -34,7 +34,7 @@ import org.apache.camel.spi.UriPath;
 import org.apache.camel.support.DefaultEndpoint;
 
 /**
- * Trigger a single message only once at startup (useful for development and 
testing purposes).
+ * Send a single message to the route once, after the route starts, which is 
useful for development and testing.
  */
 @UriEndpoint(firstVersion = "4.17.0", scheme = "once", title = "Once", syntax 
= "once:name", consumerOnly = true,
              remote = false, category = { Category.CORE, Category.SCHEDULING })
@@ -45,21 +45,40 @@ import org.apache.camel.support.DefaultEndpoint;
                                                  + " expression"))
 public class OnceEndpoint extends DefaultEndpoint {
 
-    @UriPath
+    @UriPath(description = "A name of your choice for the endpoint. The 
consumer also uses it in the name of the thread that"
+                           + " sends the message.")
     @Metadata(required = true)
     private String name;
-    @UriParam(label = "advanced", defaultValue = "1000")
+    @UriParam(label = "advanced", defaultValue = "1000",
+              description = "The number of milliseconds that the consumer 
waits, after the route has started, before it sends"
+                            + " the message. Use 0 or a negative value to send 
the message at once. If not set, the delay"
+                            + " option of the component applies.")
     private long delay = 1000;
-    @UriParam
+    @UriParam(description = "The body of the message. The text true or false 
(in any case) becomes a Boolean, and a whole"
+                            + " number becomes an Integer, or a Long if it is 
too large for an Integer. A value with a resource"
+                            + " prefix such as file:, classpath: or http: is 
replaced by the text of that resource, and a value"
+                            + " that starts with language:NAME: is evaluated 
as an expression, as described for the languages"
+                            + " option of the component. The consumer sets the 
body last, so an expression can use the"
+                            + " headers, exchange properties and variables. If 
not set, the body is null.")
     @Metadata(supportFileReference = true)
     private String body;
-    @UriParam(multiValue = true, prefix = "header.")
+    @UriParam(multiValue = true, prefix = "header.",
+              description = "The headers of the message, as key=value pairs, 
for example header.foo=abc. Each value is"
+                            + " converted, loaded from a resource or evaluated 
as an expression in the same way as the body"
+                            + " option. A value that results in null sets no 
header.")
     @Metadata(supportFileReference = true)
     private Map<String, String> headers;
-    @UriParam(label = "advanced", multiValue = true, prefix = "variable.")
+    @UriParam(label = "advanced", multiValue = true, prefix = "variable.",
+              description = "The exchange variables, as key=value pairs, for 
example variable.foo=abc. Each value is"
+                            + " converted, loaded from a resource or evaluated 
as an expression in the same way as the body"
+                            + " option. The consumer sets the variables first, 
so an expression in the other options can use"
+                            + " them.")
     @Metadata(supportFileReference = true)
     private Map<String, String> variables;
-    @UriParam(label = "advanced", multiValue = true, prefix = 
"exchangeProperty.")
+    @UriParam(label = "advanced", multiValue = true, prefix = 
"exchangeProperty.",
+              description = "The exchange properties, as key=value pairs, for 
example exchangeProperty.foo=abc. Each value is"
+                            + " converted, loaded from a resource or evaluated 
as an expression in the same way as the body"
+                            + " option. The consumer sets them after the 
variables and before the headers and the body.")
     @Metadata(supportFileReference = true)
     private Map<String, String> exchangeProperties;
 
@@ -97,9 +116,6 @@ public class OnceEndpoint extends DefaultEndpoint {
         return name;
     }
 
-    /**
-     * The logical name
-     */
     public void setName(String name) {
         this.name = name;
     }
@@ -108,11 +124,6 @@ public class OnceEndpoint extends DefaultEndpoint {
         return delay;
     }
 
-    /**
-     * The number of milliseconds to wait before triggering.
-     * <p/>
-     * The default value is 1000.
-     */
     public void setDelay(long delay) {
         this.delay = delay;
     }
@@ -121,18 +132,10 @@ public class OnceEndpoint extends DefaultEndpoint {
         return body;
     }
 
-    /**
-     * The data to use as message body. You can externalize the data by using 
file: or classpath: as prefix and specify
-     * the location of the file.
-     */
     public void setBody(String body) {
         this.body = body;
     }
 
-    /**
-     * The data to use as message headers as key=value pairs. You can 
externalize the data by using file: or classpath:
-     * as prefix and specify the location of the file.
-     */
     public Map<String, String> getHeaders() {
         return headers;
     }
@@ -145,10 +148,6 @@ public class OnceEndpoint extends DefaultEndpoint {
         return variables;
     }
 
-    /**
-     * The data to use as exchange variables as key=value pairs. You can 
externalize the data by using file: or
-     * classpath: as prefix and specify the location of the file.
-     */
     public void setVariables(Map<String, String> variables) {
         this.variables = variables;
     }
@@ -157,10 +156,6 @@ public class OnceEndpoint extends DefaultEndpoint {
         return exchangeProperties;
     }
 
-    /**
-     * The data to use as exchange properties as key=value pairs. You can 
externalize the data by using file: or
-     * classpath: as prefix and specify the location of the file.
-     */
     public void setExchangeProperties(Map<String, String> exchangeProperties) {
         this.exchangeProperties = exchangeProperties;
     }
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 1875469b6205..346a32b5bd37 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -3996,8 +3996,8 @@ public interface ComponentsBuilderFactory {
     }
     /**
      * Once (camel-once)
-     * Trigger a single message only once at startup (useful for development 
and
-     * testing purposes).
+     * Send a single message to the route once, after the route starts, which 
is
+     * useful for development and testing.
      * 
      * Category: core,scheduling
      * Since: 4.17
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/OnceComponentBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/OnceComponentBuilderFactory.java
index b14af678b447..bcad951296ce 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/OnceComponentBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/OnceComponentBuilderFactory.java
@@ -24,8 +24,8 @@ import org.apache.camel.builder.component.ComponentBuilder;
 import org.apache.camel.component.once.OnceComponent;
 
 /**
- * Trigger a single message only once at startup (useful for development and
- * testing purposes).
+ * Send a single message to the route once, after the route starts, which is
+ * useful for development and testing.
  * 
  * Generated by camel build tools - do NOT edit this file!
  */
@@ -34,8 +34,8 @@ public interface OnceComponentBuilderFactory {
 
     /**
      * Once (camel-once)
-     * Trigger a single message only once at startup (useful for development 
and
-     * testing purposes).
+     * Send a single message to the route once, after the route starts, which 
is
+     * useful for development and testing.
      * 
      * Category: core,scheduling
      * Since: 4.17
@@ -104,8 +104,10 @@ public interface OnceComponentBuilderFactory {
     
         
         /**
-         * The number of milliseconds to wait before triggering. Use 0 or
-         * negative to fire as soon as possible. The default value is 1000.
+         * The default number of milliseconds that an endpoint of this 
component
+         * waits, after its route has started, before the consumer sends the
+         * message. The delay option of the endpoint replaces it. Use 0 or a
+         * negative value to send the message at once.
          * 
          * The option is a: &lt;code&gt;long&lt;/code&gt; type.
          * 
@@ -122,7 +124,11 @@ public interface OnceComponentBuilderFactory {
     
         
         /**
-         * Whether Camel languages are supported such as simple,groovy.
+         * Whether a value of the body, headers, variables or 
exchangeProperties
+         * option that starts with language:NAME: is evaluated as an expression
+         * of the Camel language NAME, for example language:simple:${camelId}.
+         * If false, or if NAME is not a known language, the consumer uses the
+         * value as plain text, including the language:NAME: prefix.
          * 
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
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 05c487e4330c..4eac9705e2a8 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
@@ -13438,8 +13438,8 @@ public class StaticEndpointBuilders {
     }
     /**
      * Once (camel-once)
-     * Trigger a single message only once at startup (useful for development 
and
-     * testing purposes).
+     * Send a single message to the route once, after the route starts, which 
is
+     * useful for development and testing.
      * 
      * Category: core,scheduling
      * Since: 4.17
@@ -13448,7 +13448,8 @@ public class StaticEndpointBuilders {
      * Syntax: <code>once:name</code>
      * 
      * Path parameter: name (required)
-     * The logical name
+     * A name of your choice for the endpoint. The consumer also uses it in the
+     * name of the thread that sends the message.
      * 
      * @param path name
      * @return the dsl builder
@@ -13458,8 +13459,8 @@ public class StaticEndpointBuilders {
     }
     /**
      * Once (camel-once)
-     * Trigger a single message only once at startup (useful for development 
and
-     * testing purposes).
+     * Send a single message to the route once, after the route starts, which 
is
+     * useful for development and testing.
      * 
      * Category: core,scheduling
      * Since: 4.17
@@ -13468,7 +13469,8 @@ public class StaticEndpointBuilders {
      * Syntax: <code>once:name</code>
      * 
      * Path parameter: name (required)
-     * The logical name
+     * A name of your choice for the endpoint. The consumer also uses it in the
+     * name of the thread that sends the message.
      * 
      * @param componentName to use a custom component name for the endpoint
      * instead of the default name
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/OnceEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/OnceEndpointBuilderFactory.java
index d8e6386128e3..87f07e8328e7 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/OnceEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/OnceEndpointBuilderFactory.java
@@ -27,8 +27,8 @@ import org.apache.camel.builder.EndpointProducerBuilder;
 import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
 
 /**
- * Trigger a single message only once at startup (useful for development and
- * testing purposes).
+ * Send a single message to the route once, after the route starts, which is
+ * useful for development and testing.
  * 
  * Generated by camel build tools - do NOT edit this file!
  */
@@ -46,9 +46,15 @@ public interface OnceEndpointBuilderFactory {
         }
 
         /**
-         * The data to use as message body. You can externalize the data by
-         * using file: or classpath: as prefix and specify the location of the
-         * file.
+         * The body of the message. The text true or false (in any case) 
becomes
+         * a Boolean, and a whole number becomes an Integer, or a Long if it is
+         * too large for an Integer. A value with a resource prefix such as
+         * file:, classpath: or http: is replaced by the text of that resource,
+         * and a value that starts with language:NAME: is evaluated as an
+         * expression, as described for the languages option of the component.
+         * The consumer sets the body last, so an expression can use the
+         * headers, exchange properties and variables. If not set, the body is
+         * null.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -65,10 +71,11 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as message headers as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: header.
+         * The headers of the message, as key=value pairs, for example
+         * header.foo=abc. Each value is converted, loaded from a resource or
+         * evaluated as an expression in the same way as the body option. A
+         * value that results in null sets no header. This is a multi-value
+         * option with prefix: header.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -90,10 +97,11 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as message headers as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: header.
+         * The headers of the message, as key=value pairs, for example
+         * header.foo=abc. Each value is converted, loaded from a resource or
+         * evaluated as an expression in the same way as the body option. A
+         * value that results in null sets no header. This is a multi-value
+         * option with prefix: header.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -243,8 +251,10 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The number of milliseconds to wait before triggering. The default
-         * value is 1000.
+         * The number of milliseconds that the consumer waits, after the route
+         * has started, before it sends the message. Use 0 or a negative value
+         * to send the message at once. If not set, the delay option of the
+         * component applies.
          * 
          * The option is a: <code>long</code> type.
          * 
@@ -259,8 +269,10 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The number of milliseconds to wait before triggering. The default
-         * value is 1000.
+         * The number of milliseconds that the consumer waits, after the route
+         * has started, before it sends the message. Use 0 or a negative value
+         * to send the message at once. If not set, the delay option of the
+         * component applies.
          * 
          * The option will be converted to a <code>long</code> type.
          * 
@@ -275,10 +287,12 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as exchange properties as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: exchangeProperty.
+         * The exchange properties, as key=value pairs, for example
+         * exchangeProperty.foo=abc. Each value is converted, loaded from a
+         * resource or evaluated as an expression in the same way as the body
+         * option. The consumer sets them after the variables and before the
+         * headers and the body. This is a multi-value option with prefix:
+         * exchangeProperty.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -300,10 +314,12 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as exchange properties as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: exchangeProperty.
+         * The exchange properties, as key=value pairs, for example
+         * exchangeProperty.foo=abc. Each value is converted, loaded from a
+         * resource or evaluated as an expression in the same way as the body
+         * option. The consumer sets them after the variables and before the
+         * headers and the body. This is a multi-value option with prefix:
+         * exchangeProperty.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -324,10 +340,12 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as exchange variables as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: variable.
+         * The exchange variables, as key=value pairs, for example
+         * variable.foo=abc. Each value is converted, loaded from a resource or
+         * evaluated as an expression in the same way as the body option. The
+         * consumer sets the variables first, so an expression in the other
+         * options can use them. This is a multi-value option with prefix:
+         * variable.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -349,10 +367,12 @@ public interface OnceEndpointBuilderFactory {
             return this;
         }
         /**
-         * The data to use as exchange variables as key=value pairs. You can
-         * externalize the data by using file: or classpath: as prefix and
-         * specify the location of the file. This is a multi-value option with
-         * prefix: variable.
+         * The exchange variables, as key=value pairs, for example
+         * variable.foo=abc. Each value is converted, loaded from a resource or
+         * evaluated as an expression in the same way as the body option. The
+         * consumer sets the variables first, so an expression in the other
+         * options can use them. This is a multi-value option with prefix:
+         * variable.
          * 
          * This option can also be loaded from an existing file, by prefixing
          * with file: or classpath: followed by the location of the file.
@@ -377,8 +397,8 @@ public interface OnceEndpointBuilderFactory {
     public interface OnceBuilders {
         /**
          * Once (camel-once)
-         * Trigger a single message only once at startup (useful for 
development
-         * and testing purposes).
+         * Send a single message to the route once, after the route starts,
+         * which is useful for development and testing.
          * 
          * Category: core,scheduling
          * Since: 4.17
@@ -387,7 +407,8 @@ public interface OnceEndpointBuilderFactory {
          * Syntax: <code>once:name</code>
          * 
          * Path parameter: name (required)
-         * The logical name
+         * A name of your choice for the endpoint. The consumer also uses it in
+         * the name of the thread that sends the message.
          * 
          * @param path name
          * @return the dsl builder
@@ -397,8 +418,8 @@ public interface OnceEndpointBuilderFactory {
         }
         /**
          * Once (camel-once)
-         * Trigger a single message only once at startup (useful for 
development
-         * and testing purposes).
+         * Send a single message to the route once, after the route starts,
+         * which is useful for development and testing.
          * 
          * Category: core,scheduling
          * Since: 4.17
@@ -407,7 +428,8 @@ public interface OnceEndpointBuilderFactory {
          * Syntax: <code>once:name</code>
          * 
          * Path parameter: name (required)
-         * The logical name
+         * A name of your choice for the endpoint. The consumer also uses it in
+         * the name of the thread that sends the message.
          * 
          * @param componentName to use a custom component name for the endpoint
          * instead of the default name
diff --git a/tasks/component-descriptions.md b/tasks/component-descriptions.md
index 59d8e005f995..514ef2b138df 100644
--- a/tasks/component-descriptions.md
+++ b/tasks/component-descriptions.md
@@ -290,7 +290,7 @@ or removes its row.
 | camel-odata | odata |  |
 | camel-olingo2 | olingo2 (deprecated) |  |
 | camel-olingo4 | olingo4 (deprecated) |  |
-| camel-once | once |  |
+| camel-once | once | yes |
 | camel-opa | opa |  |
 | camel-openai | llm, openai |  |
 | camel-openfeature | openfeature |  |

Reply via email to