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 cd86ea613c6b3b79a067fed2ed9eae0fb4d5dbfb
Author: Otavio R. Piske <angusyo...@gmail.com>
AuthorDate: Sat Feb 17 12:14:32 2024 +0100

    CAMEL-20410: documentation fixes for camel-caffeine
    
    - Fixed grammar and typos
    - Fixed punctuation
    - Added and/or fixed links
    
    Signed-off-by: Otavio R. Piske <angusyo...@gmail.com>
---
 .../src/main/docs/caffeine-cache-component.adoc         | 17 ++++++-----------
 .../src/main/docs/caffeine-loadcache-component.adoc     |  5 ++---
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git 
a/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc 
b/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc
index 7f5d55a7c6f..98a3476ed6c 100644
--- a/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc
+++ b/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc
@@ -34,8 +34,7 @@ their `pom.xml` for this component:
 caffeine-cache://cacheName[?options]
 -----------------------------
 
-You can append query options to the URI in the following
-format, `?option=value&option=#beanRef&...`
+You can append query options to the URI in the following format: 
`?option=value&option=#beanRef&...`.
 
 // component-configure options: START
 
@@ -78,17 +77,13 @@ protected RouteBuilder createRouteBuilder() throws 
Exception {
 }
 ------------------------------------------------------------
 
-In this way you'll work always on the same cache in the registry.
+In this way, you'll work always on the same cache in the registry.
 
-== Check operation result
+== Checking the operation result
 
-Each time you'll use an operation on the cache you'll have two different 
headers to check for status:
-
-[source,java]
-------------------------------------------------------------
-CaffeineConstants.ACTION_HAS_RESULT
-CaffeineConstants.ACTION_SUCCEEDED
-------------------------------------------------------------
+Each time you'll use an operation on the cache, you'll have two different 
headers to check for status:
 
+* `CaffeineConstants.ACTION_HAS_RESULT`
+* `CaffeineConstants.ACTION_SUCCEEDED`
 
 include::spring-boot:partial$starter.adoc[]
diff --git 
a/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc 
b/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc
index 5107a083789..896b31ca7ba 100644
--- a/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc
+++ b/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc
@@ -14,7 +14,7 @@
 
 *{component-header}*
 
-The Caffeine Loadcache component enables you to perform caching operations 
using
+The Caffeine LoadCache component enables you to perform caching operations 
using
 the LoadingCache from Caffeine.
 
 Maven users will need to add the following dependency to
@@ -36,8 +36,7 @@ their `pom.xml` for this component:
 caffeine-loadcache://cacheName[?options]
 -----------------------------
 
-You can append query options to the URI in the following
-format, `?option=value&option=#beanRef&...`
+You can append query options to the URI in the following format: 
`?option=value&option=#beanRef&...`
 
 
 // component-configure options: START

Reply via email to