You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2018/08/15 19:41:36 UTC
[camel] 02/02: caffeine-cache: use caffeine-cache instead of
caffeine-loadcache in component doc example
This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d7482617012124ef1a91e632d05f702c1172ee0b
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Wed Aug 15 21:41:25 2018 +0200
caffeine-cache: use caffeine-cache instead of caffeine-loadcache in component doc example
---
.../camel-caffeine/src/main/docs/caffeine-cache-component.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 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 6e29d0e..7b5f10f 100644
--- a/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc
+++ b/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc
@@ -4,7 +4,7 @@
*Available as of Camel version 2.20*
The *caffeine-cache* component enables you to perform caching operations using
-The simple cache from Caffeine.
+the simple cache from Caffeine.
Maven users will need to add the following dependency to
their `pom.xml` for this component:
@@ -136,8 +136,8 @@ You can use your cache with the following code:
return new RouteBuilder() {
public void configure() {
from("direct://start")
- .toF("caffeine-loadcache://%s?cache=#cache&action=PUT&key=1", "test")
- .toF("caffeine-loadcache://%s?cache=#cache&key=1&action=GET", "test")
+ .toF("caffeine-cache://%s?cache=#cache&action=PUT&key=1", "test")
+ .toF("caffeine-cache://%s?cache=#cache&key=1&action=GET", "test")
.log("Test! ${body}")
.to("mock:result");
}