camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: Added required metadata to cachingProvider into camel-jcache
Date Thu, 04 Aug 2016 13:54:06 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x b88d365ef -> 0dbf59bf2


Added required metadata to cachingProvider into camel-jcache


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0dbf59bf
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0dbf59bf
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0dbf59bf

Branch: refs/heads/camel-2.17.x
Commit: 0dbf59bf2c9923eacfb6428b178081f334144f1b
Parents: b88d365
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Aug 4 15:49:36 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Aug 4 15:53:47 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jcache/JCacheConfiguration.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0dbf59bf/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConfiguration.java
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConfiguration.java
index 0002845..eadbf54 100644
--- a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConfiguration.java
+++ b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConfiguration.java
@@ -31,6 +31,7 @@ import javax.cache.integration.CacheLoader;
 import javax.cache.integration.CacheWriter;
 
 import org.apache.camel.CamelContext;
+import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;
 import org.apache.camel.util.EndpointHelper;
@@ -38,6 +39,7 @@ import org.apache.camel.util.EndpointHelper;
 @UriParams
 public class JCacheConfiguration {
     @UriParam(label = "advanced")
+    @Metadata(required = "true")
     private String cachingProvider;
 
     @UriParam(label = "advanced")


Mime
View raw message