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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 89fd25394b2 Regen
89fd25394b2 is described below
commit 89fd25394b2e876df14ba2fd3c4a418ea05c53d0
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Oct 10 16:28:35 2026 +0200
Regen
---
.../org/apache/camel/springboot/catalog/components/timer.json | 4 ++--
components-starter/camel-timer-starter/src/main/docs/timer.json | 2 +-
.../component/timer/springboot/TimerComponentConfiguration.java | 7 +++++--
docs/spring-boot/modules/ROOT/pages/starters/timer.adoc | 2 +-
4 files changed, 9 insertions(+), 6 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/timer.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/timer.json
index 1fa742a8c33..21989fadc8f 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/timer.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/timer.json
@@ -25,7 +25,7 @@
},
"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 [...]
- "includeMetadata": { "index": 1, "kind": "property", "displayName":
"Include Metadata", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to
include metadata in the exchange such as fired time, timer name, timer count
etc." },
+ "includeMetadata": { "index": 1, "kind": "property", "displayName":
"Include Metadata", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to
include metadata in the exchange: the exchange properties CamelTimerCounter
(the fire count, 1 on the first fire), CamelTimerName, CamelTimerPeriod,
CamelTimerFiredTime and CamelTimerTime (when the [...]
"autowiredEnabled": { "index": 2, "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 [...]
},
"headers": {
@@ -36,7 +36,7 @@
"timerName": { "index": 0, "kind": "path", "displayName": "Timer Name",
"group": "consumer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The name of the timer" },
"delay": { "index": 1, "kind": "parameter", "displayName": "Delay",
"group": "consumer", "label": "", "required": false, "type": "duration",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "1000", "description": "The number of milliseconds to wait
before the first event is generated. Should not be used in conjunction with the
time option. The default value is 1000." },
"fixedRate": { "index": 2, "kind": "parameter", "displayName": "Fixed
Rate", "group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Events take place at
approximately regular intervals, separated by the specified period." },
- "includeMetadata": { "index": 3, "kind": "parameter", "displayName":
"Include Metadata", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to
include metadata in the exchange such as fired time, timer name, timer count
etc." },
+ "includeMetadata": { "index": 3, "kind": "parameter", "displayName":
"Include Metadata", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to
include metadata in the exchange: the exchange properties CamelTimerCounter
(the fire count, 1 on the first fire), CamelTimerName, CamelTimerPeriod,
CamelTimerFiredTime and CamelTimerTime (when th [...]
"period": { "index": 4, "kind": "parameter", "displayName": "Period",
"group": "consumer", "label": "", "required": false, "type": "duration",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "1000", "description": "Generate periodic events every period.
Must be zero or positive value. The default value is 1000." },
"repeatCount": { "index": 5, "kind": "parameter", "displayName": "Repeat
Count", "group": "consumer", "label": "", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"description": "Specifies a maximum limit for the number of fires. Therefore,
if you set it to 1, the timer will only fire once. If you set it to 5, it will
only fire five times. A value of zero or negative means fire forever." },
"bridgeErrorHandler": { "index": 6, "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 [...]
diff --git a/components-starter/camel-timer-starter/src/main/docs/timer.json
b/components-starter/camel-timer-starter/src/main/docs/timer.json
index 2b34f14ac14..568d9604f7b 100644
--- a/components-starter/camel-timer-starter/src/main/docs/timer.json
+++ b/components-starter/camel-timer-starter/src/main/docs/timer.json
@@ -41,7 +41,7 @@
{
"name": "camel.component.timer.include-metadata",
"type": "java.lang.Boolean",
- "description": "Whether to include metadata in the exchange such as
fired time, timer name, timer count etc.",
+ "description": "Whether to include metadata in the exchange: the
exchange properties CamelTimerCounter (the fire count, 1 on the first fire),
CamelTimerName, CamelTimerPeriod, CamelTimerFiredTime and CamelTimerTime (when
the time option is set), and the headers CamelTimerFiredTime and
CamelMessageTimestamp.",
"sourceType":
"org.apache.camel.component.timer.springboot.TimerComponentConfiguration",
"defaultValue": false
}
diff --git
a/components-starter/camel-timer-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentConfiguration.java
b/components-starter/camel-timer-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentConfiguration.java
index 74aa08894a6..65bcbb90fa9 100644
---
a/components-starter/camel-timer-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentConfiguration.java
+++
b/components-starter/camel-timer-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentConfiguration.java
@@ -49,8 +49,11 @@ public class TimerComponentConfiguration
*/
private Boolean bridgeErrorHandler = false;
/**
- * Whether to include metadata in the exchange such as fired time, timer
- * name, timer count etc.
+ * Whether to include metadata in the exchange: the exchange properties
+ * CamelTimerCounter (the fire count, 1 on the first fire), CamelTimerName,
+ * CamelTimerPeriod, CamelTimerFiredTime and CamelTimerTime (when the time
+ * option is set), and the headers CamelTimerFiredTime and
+ * CamelMessageTimestamp.
*/
private Boolean includeMetadata = false;
/**
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/timer.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/timer.adoc
index 2e0584cc8b0..a737bd7be1e 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/timer.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/timer.adoc
@@ -31,5 +31,5 @@ The starter supports 4 options, which are listed below.
| camel.component.timer.autowired-enabled | 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 type, which then gets configured on the component. This can be used
for automatic configuring JDBC data sources, JMS connection factories, AWS
Clients, etc. | true | Boolean
| camel.component.timer.bridge-error-handler | 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 likes, will now be processed as a message and handled by the
routing Error Handler. Important: This is only possible if the 3rd party
component allows Camel to be alerted if an exception was thrown. Some
components handle this internally only, and therefor [...]
| camel.component.timer.enabled | Whether to enable auto configuration of the
timer component. This is enabled by default. | | Boolean
-| camel.component.timer.include-metadata | Whether to include metadata in the
exchange such as fired time, timer name, timer count etc. | false | Boolean
+| camel.component.timer.include-metadata | Whether to include metadata in the
exchange: the exchange properties CamelTimerCounter (the fire count, 1 on the
first fire), CamelTimerName, CamelTimerPeriod, CamelTimerFiredTime and
CamelTimerTime (when the time option is set), and the headers
CamelTimerFiredTime and CamelMessageTimestamp. | false | Boolean
|===