This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new c2153f5 Regen
c2153f5 is described below
commit c2153f571f470fb0e579d699b9aca90898eac3b3
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Sep 11 19:50:54 2020 +0200
Regen
---
.../org/apache/camel/catalog/components/caffeine-cache.json | 2 --
.../apache/camel/catalog/components/caffeine-loadcache.json | 2 --
.../apache/camel/catalog/docs/caffeine-cache-component.adoc | 10 ++++------
.../camel/catalog/docs/caffeine-loadcache-component.adoc | 6 ++----
.../camel/catalog/models/faultToleranceConfiguration.json | 2 +-
.../org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++--
.../org/apache/camel/model/faultToleranceConfiguration.json | 2 +-
.../modules/ROOT/pages/caffeine-cache-component.adoc | 10 ++++------
.../modules/ROOT/pages/caffeine-loadcache-component.adoc | 6 ++----
9 files changed, 16 insertions(+), 28 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-cache.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-cache.json
index 8135720..f623e80 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-cache.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-cache.json
@@ -24,7 +24,6 @@
},
"componentProperties": {
"action": { "kind": "property", "displayName": "Action", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure the default
cache action. If an action is set in the message header, then the operation
from the header takes precedence." },
- "cache": { "kind": "property", "displayName": "Cache", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.Cache", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure an already
instantiated cache to be used" },
"cacheLoader": { "kind": "property", "displayName": "Cache Loader",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.CacheLoader", "deprecated":
false, "secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure a
CacheLoader in case of a LoadCache use" },
"createCacheIfNotExist": { "kind": "property", "displayName": "Create
Cache If Not Exist", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Configure if a cache
need to be created if it does exist or can't be pre-configured." },
"evictionType": { "kind": "property", "displayName": "Eviction Type",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.caffeine.EvictionType", "enum": [
"size_based", "time_based" ], "deprecated": false, "secret": false,
"defaultValue": "SIZE_BASED", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Set the eviction Type
for thi [...]
@@ -45,7 +44,6 @@
"properties": {
"cacheName": { "kind": "path", "displayName": "Cache Name", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret":
false, "description": "the cache name" },
"action": { "kind": "parameter", "displayName": "Action", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure the default
cache action. If an action is set in the message header, then the operation
from the header takes precedence." },
- "cache": { "kind": "parameter", "displayName": "Cache", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.Cache", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure an already
instantiated cache to be used" },
"cacheLoader": { "kind": "parameter", "displayName": "Cache Loader",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.CacheLoader", "deprecated":
false, "secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure a
CacheLoader in case of a LoadCache use" },
"createCacheIfNotExist": { "kind": "parameter", "displayName": "Create
Cache If Not Exist", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Configure if a cache
need to be created if it does exist or can't be pre-configured." },
"evictionType": { "kind": "parameter", "displayName": "Eviction Type",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.caffeine.EvictionType", "enum": [
"size_based", "time_based" ], "deprecated": false, "secret": false,
"defaultValue": "SIZE_BASED", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Set the eviction Type
for th [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-loadcache.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-loadcache.json
index 4afc151..33476c9 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-loadcache.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/caffeine-loadcache.json
@@ -24,7 +24,6 @@
},
"componentProperties": {
"action": { "kind": "property", "displayName": "Action", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure the default
cache action. If an action is set in the message header, then the operation
from the header takes precedence." },
- "cache": { "kind": "property", "displayName": "Cache", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.Cache", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure an already
instantiated cache to be used" },
"cacheLoader": { "kind": "property", "displayName": "Cache Loader",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.CacheLoader", "deprecated":
false, "secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure a
CacheLoader in case of a LoadCache use" },
"createCacheIfNotExist": { "kind": "property", "displayName": "Create
Cache If Not Exist", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Configure if a cache
need to be created if it does exist or can't be pre-configured." },
"evictionType": { "kind": "property", "displayName": "Eviction Type",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.caffeine.EvictionType", "enum": [
"size_based", "time_based" ], "deprecated": false, "secret": false,
"defaultValue": "SIZE_BASED", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Set the eviction Type
for thi [...]
@@ -45,7 +44,6 @@
"properties": {
"cacheName": { "kind": "path", "displayName": "Cache Name", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret":
false, "description": "the cache name" },
"action": { "kind": "parameter", "displayName": "Action", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure the default
cache action. If an action is set in the message header, then the operation
from the header takes precedence." },
- "cache": { "kind": "parameter", "displayName": "Cache", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.Cache", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure an already
instantiated cache to be used" },
"cacheLoader": { "kind": "parameter", "displayName": "Cache Loader",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "com.github.benmanes.caffeine.cache.CacheLoader", "deprecated":
false, "secret": false, "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "To configure a
CacheLoader in case of a LoadCache use" },
"createCacheIfNotExist": { "kind": "parameter", "displayName": "Create
Cache If Not Exist", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Configure if a cache
need to be created if it does exist or can't be pre-configured." },
"evictionType": { "kind": "parameter", "displayName": "Eviction Type",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.caffeine.EvictionType", "enum": [
"size_based", "time_based" ], "deprecated": false, "secret": false,
"defaultValue": "SIZE_BASED", "configurationClass":
"org.apache.camel.component.caffeine.CaffeineConfiguration",
"configurationField": "configuration", "description": "Set the eviction Type
for th [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-cache-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-cache-component.adoc
index 2803b8b..72aaff7 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-cache-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-cache-component.adoc
@@ -41,7 +41,7 @@ format, `?option=value&option=#beanRef&...`
// component options: START
-The Caffeine Cache component supports 18 options, which are listed below.
+The Caffeine Cache component supports 17 options, which are listed below.
@@ -49,7 +49,6 @@ The Caffeine Cache component supports 18 options, which are
listed below.
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -90,14 +89,13 @@ with the following path and query parameters:
|===
-=== Query Parameters (18 parameters):
+=== Query Parameters (17 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -129,8 +127,8 @@ protected RouteBuilder createRouteBuilder() throws
Exception {
return new RouteBuilder() {
public void configure() {
from("direct://start")
- .toF("caffeine-cache://%s?cache=#cache&action=PUT&key=1",
"test")
- .toF("caffeine-cache://%s?cache=#cache&key=1&action=GET",
"test")
+ .to("caffeine-cache://cache?action=PUT&key=1")
+ .to("caffeine-cache://cache?key=1&action=GET")
.log("Test! ${body}")
.to("mock:result");
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-loadcache-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-loadcache-component.adoc
index 0be6cc3..32f1316 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-loadcache-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/caffeine-loadcache-component.adoc
@@ -41,7 +41,7 @@ format, `?option=value&option=#beanRef&...`
// component options: START
-The Caffeine LoadCache component supports 18 options, which are listed below.
+The Caffeine LoadCache component supports 17 options, which are listed below.
@@ -49,7 +49,6 @@ The Caffeine LoadCache component supports 18 options, which
are listed below.
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -90,14 +89,13 @@ with the following path and query parameters:
|===
-=== Query Parameters (18 parameters):
+=== Query Parameters (17 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/faultToleranceConfiguration.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/faultToleranceConfiguration.json
index 0a02ef7..2db6b8d 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/faultToleranceConfiguration.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/faultToleranceConfiguration.json
@@ -12,7 +12,7 @@
},
"properties": {
"circuitBreakerRef": { "kind": "attribute", "displayName": "Circuit
Breaker Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "description":
"Refers to an existing
io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker instance to
lookup and use from the registry. When using this, then any other circuit
breaker options are not in use." },
- "delay": { "kind": "attribute", "displayName": "Delay", "required": false,
"type": "duration", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "defaultValue": "5s", "description": "Control how long the
circuit breaker stays open. The value are in seconds and the default is 5
seconds." },
+ "delay": { "kind": "attribute", "displayName": "Delay", "required": false,
"type": "duration", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "defaultValue": "5s", "description": "Control how long the
circuit breaker stays open. The values are in seconds and the default value is
5 seconds." },
"successThreshold": { "kind": "attribute", "displayName": "Success
Threshold", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false, "defaultValue": "1",
"description": "Controls the number of trial calls which are allowed when the
circuit breaker is half-open" },
"requestVolumeThreshold": { "kind": "attribute", "displayName": "Request
Volume Threshold", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false, "defaultValue":
"20", "description": "Controls the size of the rolling window used when the
circuit breaker is closed" },
"failureRatio": { "kind": "attribute", "displayName": "Failure Ratio",
"required": false, "type": "integer", "javaType": "java.lang.Integer",
"deprecated": false, "secret": false, "defaultValue": "50", "description":
"Configures the failure rate threshold in percentage. If the failure rate is
equal or greater than the threshold the CircuitBreaker transitions to open and
starts short-circuiting calls. The threshold must be greater than 0 and not
greater than 100. Default value is 50 p [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index dffe39e..387d1a5 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -4136,8 +4136,8 @@ breaker options are not in use.
<xs:attribute name="delay" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
-Control how long the circuit breaker stays open. The value are in seconds and
-the default is 5 seconds. Default value: 5s
+Control how long the circuit breaker stays open. The values are in seconds and
+the default value is 5 seconds. Default value: 5s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
diff --git
a/core/camel-core-engine/src/generated/resources/org/apache/camel/model/faultToleranceConfiguration.json
b/core/camel-core-engine/src/generated/resources/org/apache/camel/model/faultToleranceConfiguration.json
index 0a02ef7..2db6b8d 100644
---
a/core/camel-core-engine/src/generated/resources/org/apache/camel/model/faultToleranceConfiguration.json
+++
b/core/camel-core-engine/src/generated/resources/org/apache/camel/model/faultToleranceConfiguration.json
@@ -12,7 +12,7 @@
},
"properties": {
"circuitBreakerRef": { "kind": "attribute", "displayName": "Circuit
Breaker Ref", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "description":
"Refers to an existing
io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker instance to
lookup and use from the registry. When using this, then any other circuit
breaker options are not in use." },
- "delay": { "kind": "attribute", "displayName": "Delay", "required": false,
"type": "duration", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "defaultValue": "5s", "description": "Control how long the
circuit breaker stays open. The value are in seconds and the default is 5
seconds." },
+ "delay": { "kind": "attribute", "displayName": "Delay", "required": false,
"type": "duration", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "defaultValue": "5s", "description": "Control how long the
circuit breaker stays open. The values are in seconds and the default value is
5 seconds." },
"successThreshold": { "kind": "attribute", "displayName": "Success
Threshold", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false, "defaultValue": "1",
"description": "Controls the number of trial calls which are allowed when the
circuit breaker is half-open" },
"requestVolumeThreshold": { "kind": "attribute", "displayName": "Request
Volume Threshold", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false, "defaultValue":
"20", "description": "Controls the size of the rolling window used when the
circuit breaker is closed" },
"failureRatio": { "kind": "attribute", "displayName": "Failure Ratio",
"required": false, "type": "integer", "javaType": "java.lang.Integer",
"deprecated": false, "secret": false, "defaultValue": "50", "description":
"Configures the failure rate threshold in percentage. If the failure rate is
equal or greater than the threshold the CircuitBreaker transitions to open and
starts short-circuiting calls. The threshold must be greater than 0 and not
greater than 100. Default value is 50 p [...]
diff --git a/docs/components/modules/ROOT/pages/caffeine-cache-component.adoc
b/docs/components/modules/ROOT/pages/caffeine-cache-component.adoc
index ff9b0f2..cf6c969 100644
--- a/docs/components/modules/ROOT/pages/caffeine-cache-component.adoc
+++ b/docs/components/modules/ROOT/pages/caffeine-cache-component.adoc
@@ -43,7 +43,7 @@ format, `?option=value&option=#beanRef&...`
// component options: START
-The Caffeine Cache component supports 18 options, which are listed below.
+The Caffeine Cache component supports 17 options, which are listed below.
@@ -51,7 +51,6 @@ The Caffeine Cache component supports 18 options, which are
listed below.
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -92,14 +91,13 @@ with the following path and query parameters:
|===
-=== Query Parameters (18 parameters):
+=== Query Parameters (17 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -131,8 +129,8 @@ protected RouteBuilder createRouteBuilder() throws
Exception {
return new RouteBuilder() {
public void configure() {
from("direct://start")
- .toF("caffeine-cache://%s?cache=#cache&action=PUT&key=1",
"test")
- .toF("caffeine-cache://%s?cache=#cache&key=1&action=GET",
"test")
+ .to("caffeine-cache://cache?action=PUT&key=1")
+ .to("caffeine-cache://cache?key=1&action=GET")
.log("Test! ${body}")
.to("mock:result");
}
diff --git
a/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc
b/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc
index 92caa3f..4d46385 100644
--- a/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc
+++ b/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc
@@ -43,7 +43,7 @@ format, `?option=value&option=#beanRef&...`
// component options: START
-The Caffeine LoadCache component supports 18 options, which are listed below.
+The Caffeine LoadCache component supports 17 options, which are listed below.
@@ -51,7 +51,6 @@ The Caffeine LoadCache component supports 18 options, which
are listed below.
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType
@@ -92,14 +91,13 @@ with the following path and query parameters:
|===
-=== Query Parameters (18 parameters):
+=== Query Parameters (17 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *action* (producer) | To configure the default cache action. If an action is
set in the message header, then the operation from the header takes precedence.
| | String
-| *cache* (producer) | To configure an already instantiated cache to be used |
| Cache
| *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache
use | | CacheLoader
| *createCacheIfNotExist* (producer) | Configure if a cache need to be created
if it does exist or can't be pre-configured. | true | boolean
| *evictionType* (producer) | Set the eviction Type for this cache. There are
2 enums and the value can be one of: size_based, time_based | SIZE_BASED |
EvictionType