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 fac3eb81d06cfed37453f08a8600b994894ff0e1
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Feb 21 19:23:54 2024 +0100

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

diff --git 
a/components/camel-stringtemplate/src/main/docs/string-template-component.adoc 
b/components/camel-stringtemplate/src/main/docs/string-template-component.adoc
index ad2dd46388d..ef42df3f5ab 100644
--- 
a/components/camel-stringtemplate/src/main/docs/string-template-component.adoc
+++ 
b/components/camel-stringtemplate/src/main/docs/string-template-component.adoc
@@ -102,7 +102,7 @@ This scenario can be used in production when the resource 
never changes.
 
 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.
 
 == StringTemplate Attributes
@@ -124,7 +124,7 @@ 
exchange.getIn().setHeader("CamelStringTemplateVariableMap", variableMap);
 
 == Samples
 
-For example you could use a string template as follows in order to
+For example, you could use a string template as follows in order to
 formulate a response to a message:
 
 [source,java]
@@ -135,7 +135,7 @@ from("activemq:My.Queue").
 
 == The Email Sample
 
-In this sample we want to use a string template to send an order
+In this sample, we want to use a string template to send an order
 confirmation email. The email template is laid out in `StringTemplate`
 as:
 

Reply via email to