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
The following commit(s) were added to refs/heads/main by this push:
new b345238907a Documentation of XQuery, Timer components - typos and
formatting (#7942)
b345238907a is described below
commit b345238907a32544bf0bd9ef5926d8c72ffef4c5
Author: lfabriko <[email protected]>
AuthorDate: Thu Jun 30 07:06:58 2022 +0200
Documentation of XQuery, Timer components - typos and formatting (#7942)
* Typos, formatting of parameters
* Typo, broken link to w3schools tutorial
---
components/camel-saxon/src/main/docs/xquery-component.adoc | 4 ++--
components/camel-timer/src/main/docs/timer-component.adoc | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/components/camel-saxon/src/main/docs/xquery-component.adoc
b/components/camel-saxon/src/main/docs/xquery-component.adoc
index ed57bb62ac7..e31874b187c 100644
--- a/components/camel-saxon/src/main/docs/xquery-component.adoc
+++ b/components/camel-saxon/src/main/docs/xquery-component.adoc
@@ -154,11 +154,11 @@ XQuery is a very powerful language for querying,
searching, sorting and
returning XML. For help learning XQuery try these tutorials
* Mike Kay's http://www.stylusstudio.com/xquery_primer.html[XQuery Primer]
-* The W3Schools http://www.w3schools.com/xquery/default.asp[XQuery Tutorial]
+* The W3Schools https://www.w3schools.com/xml/xquery_intro.asp[XQuery Tutorial]
== Dependencies
-To use XQuery in your camel routes you need to add the a dependency on
+To use XQuery in your camel routes you need to add the dependency on
*camel-saxon* which implements the XQuery language.
If you use maven you could just add the following to your pom.xml,
diff --git a/components/camel-timer/src/main/docs/timer-component.adoc
b/components/camel-timer/src/main/docs/timer-component.adoc
index b163789c8f1..69f45385eda 100644
--- a/components/camel-timer/src/main/docs/timer-component.adoc
+++ b/components/camel-timer/src/main/docs/timer-component.adoc
@@ -15,7 +15,7 @@
*{component-header}*
The Timer component is used to generate message exchanges when a
-timer fires You can only consume events from this endpoint.
+timer fires. You can only consume events from this endpoint.
== URI format
@@ -114,17 +114,17 @@ can use a negative delay:
In this way the timer will fire messages immediately.
-You can also specify a repeatCount parameter in conjunction with a
+You can also specify a `repeatCount` parameter in conjunction with a
negative delay to stop firing messages after a fixed number has been
reached.
-If you don't specify a repeatCount then the timer will continue firing
+If you don't specify a `repeatCount` then the timer will continue firing
messages until the route will be stopped.
== Firing only once
You may want to fire a message in a Camel route only once, such as when
-starting the route. To do that you use the repeatCount option as shown:
+starting the route. To do that you use the `repeatCount` option as shown:
[source,xml]
----