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
The following commit(s) were added to refs/heads/master by this push: new 7155a15 camel-caffeine: improve "cache" parameter description 7155a15 is described below commit 7155a151348979d1f4fdac620d98a0731f65c78d Author: Pascal Schumacher <pascalschumac...@gmx.net> AuthorDate: Wed Aug 15 21:57:42 2018 +0200 camel-caffeine: improve "cache" parameter description --- components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc | 4 ++-- .../camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc | 4 ++-- .../org/apache/camel/component/caffeine/CaffeineConfiguration.java | 2 +- .../cache/springboot/CaffeineCacheComponentConfiguration.java | 2 +- .../load/springboot/CaffeineLoadCacheComponentConfiguration.java | 2 +- 5 files changed, 7 insertions(+), 7 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 7b5f10f..f9edf57 100644 --- a/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc +++ b/components/camel-caffeine/src/main/docs/caffeine-cache-component.adoc @@ -77,7 +77,7 @@ with the following path and query parameters: | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | | ExceptionHandler | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. | | ExchangePattern | *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 the default an already instantianted cache to be used | | Cache +| *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 | *evictionType* (producer) | Set the eviction Type for this cache | SIZE_BASED | EvictionType | *expireAfterAccessTime* (producer) | Set the expire After Access Time in case of time based Eviction (in seconds) | 300 | int @@ -105,7 +105,7 @@ The component supports 17 options, which are listed below. |=== | Name | Description | Default | Type | *camel.component.caffeine-cache.configuration.action* | To configure the default cache action. If an action is set in the message header, then the operation from the header takes precedence. | | String -| *camel.component.caffeine-cache.configuration.cache* | To configure the default an already instantianted cache to be used | | Cache +| *camel.component.caffeine-cache.configuration.cache* | To configure an already instantiated cache to be used | | Cache | *camel.component.caffeine-cache.configuration.cache-loader* | To configure a CacheLoader in case of a LoadCache use | | CacheLoader | *camel.component.caffeine-cache.configuration.create-cache-if-not-exist* | Configure if a cache need to be created if it does exist or can't be pre-configured. | true | Boolean | *camel.component.caffeine-cache.configuration.eviction-type* | Set the eviction Type for this cache | | EvictionType 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 bcd158f..f2206a3 100644 --- a/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc +++ b/components/camel-caffeine/src/main/docs/caffeine-loadcache-component.adoc @@ -77,7 +77,7 @@ with the following path and query parameters: | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | | ExceptionHandler | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. | | ExchangePattern | *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 the default an already instantianted cache to be used | | Cache +| *cache* (producer) | To configure the default an already instantiated cache to be used | | Cache | *cacheLoader* (producer) | To configure a CacheLoader in case of a LoadCache use | | CacheLoader | *evictionType* (producer) | Set the eviction Type for this cache | SIZE_BASED | EvictionType | *expireAfterAccessTime* (producer) | Set the expire After Access Time in case of time based Eviction (in seconds) | 300 | int @@ -105,7 +105,7 @@ The component supports 17 options, which are listed below. |=== | Name | Description | Default | Type | *camel.component.caffeine-loadcache.configuration.action* | To configure the default cache action. If an action is set in the message header, then the operation from the header takes precedence. | | String -| *camel.component.caffeine-loadcache.configuration.cache* | To configure the default an already instantianted cache to be used | | Cache +| *camel.component.caffeine-loadcache.configuration.cache* | To configure the default an already instantiated cache to be used | | Cache | *camel.component.caffeine-loadcache.configuration.cache-loader* | To configure a CacheLoader in case of a LoadCache use | | CacheLoader | *camel.component.caffeine-loadcache.configuration.create-cache-if-not-exist* | Configure if a cache need to be created if it does exist or can't be pre-configured. | true | Boolean | *camel.component.caffeine-loadcache.configuration.eviction-type* | Set the eviction Type for this cache | | EvictionType diff --git a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/CaffeineConfiguration.java b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/CaffeineConfiguration.java index 92e9366..8808d6e 100644 --- a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/CaffeineConfiguration.java +++ b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/CaffeineConfiguration.java @@ -124,7 +124,7 @@ public class CaffeineConfiguration implements Cloneable { } /** - * To configure the default an already instantianted cache to be used + * To configure an already instantiated cache to be used */ public void setCache(Cache cache) { this.cache = cache; diff --git a/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/cache/springboot/CaffeineCacheComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/cache/springboot/CaffeineCacheComponentConfiguration.java index f0a52bd..e264004 100644 --- a/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/cache/springboot/CaffeineCacheComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/cache/springboot/CaffeineCacheComponentConfiguration.java @@ -97,7 +97,7 @@ public class CaffeineCacheComponentConfiguration */ private String valueType = "java.lang.Object"; /** - * To configure the default an already instantianted cache to be used + * To configure an already instantiated cache to be used */ private Cache cache; /** diff --git a/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/load/springboot/CaffeineLoadCacheComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/load/springboot/CaffeineLoadCacheComponentConfiguration.java index 217d31d..a4a98fe 100644 --- a/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/load/springboot/CaffeineLoadCacheComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-caffeine-starter/src/main/java/org/apache/camel/component/caffeine/load/springboot/CaffeineLoadCacheComponentConfiguration.java @@ -98,7 +98,7 @@ public class CaffeineLoadCacheComponentConfiguration */ private String valueType = "java.lang.Object"; /** - * To configure the default an already instantianted cache to be used + * To configure an already instantiated cache to be used */ private Cache cache; /**