ppalaga commented on code in PR #6365:
URL: https://github.com/apache/camel-quarkus/pull/6365#discussion_r1723432253


##########
docs/modules/ROOT/pages/reference/extensions/core.adoc:
##########
@@ -423,3 +423,21 @@ The action to take when `CamelMain` encounters an unknown 
argument. fail - Print
 [.configuration-legend]
 {doc-link-icon-lock}[title=Fixed at build time] Configuration property fixed 
at build time. All other configuration properties are overridable at runtime.
 
+[NOTE]
+[id=duration-note-anchor-core]
+.About the Duration format
+====
+To write duration values, use the standard `java.time.Duration` format.
+See the 
link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse()
 Java API documentation] for more information.
+
+You can also use a simplified format, starting with a number:
+
+* If the value is only a number, it represents time in seconds.\n
+* If the value is a number followed by `ms`, it represents time in 
milliseconds.\n

Review Comment:
   Good catch, we definitely do not need them here. Let me remove them.
   
   I asked Guillaume, whether they are intentional at least in Quarkus 
templates. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to