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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1e9878d9b179dcf4fc27241d678b791c1f25e577
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Feb 21 14:04:22 2024 +0100

    CAMEL-20410: documentation fixes for camel-mustache
    
    - Fixed samples
    - Fixed grammar and typos
    - Fixed punctuation
    - Added and/or fixed links
    - Converted to use tabs
---
 .../camel-mustache/src/main/docs/mustache-component.adoc     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-mustache/src/main/docs/mustache-component.adoc 
b/components/camel-mustache/src/main/docs/mustache-component.adoc
index 6f4ec3d9c1a..b7bbea54768 100644
--- a/components/camel-mustache/src/main/docs/mustache-component.adoc
+++ b/components/camel-mustache/src/main/docs/mustache-component.adoc
@@ -38,8 +38,8 @@ mustache:templateName[?options]
 -------------------------------
 
 Where *templateName* is the classpath-local URI of the template to
-invoke; or the complete URL of the remote template (eg:
-\file://folder/myfile.mustache).
+invoke; or the complete URL of the remote template (e.g.:
+`\file://folder/myfile.mustache`).
 
 // component-configure options: START
 
@@ -86,7 +86,7 @@ Camel will provide exchange information in the Mustache 
context (just a
 
 Camel provides two headers by which you can define a different resource
 location for a template or the template content itself. If any of these
-headers is set then Camel uses this over the endpoint configured
+headers is set, then Camel uses this over the endpoint configured
 resource. This allows you to provide a dynamic template at runtime.
 
 // component headers: START
@@ -95,7 +95,7 @@ include::partial$component-endpoint-headers.adoc[]
 
 == Samples
 
-For example you could use something like:
+For example, you could use something like:
 
 [source,java]
 --------------------------------------------
@@ -107,7 +107,7 @@ To use a Mustache template to formulate a response for a 
message for
 InOut message exchanges (where there is a `JMSReplyTo` header).
 
 If you want to use InOnly and consume the message and send it to another
-destination you could use:
+destination, you could use:
 
 [source,java]
 --------------------------------------------
@@ -128,7 +128,7 @@ to("mustache:dummy?allowTemplateFromHeader=true");
 
 == The Email Sample
 
-In this sample we want to use Mustache templating for an order
+In this sample, we want to use Mustache templating for an order
 confirmation email. The email template is laid out in Mustache as:
 
 -------------------------------------------------

Reply via email to