You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/08/04 13:53:11 UTC

camel git commit: Added required metadata to cachingProvider into camel-jcache

Repository: camel
Updated Branches:
  refs/heads/master c850a5e7f -> fccc083d1


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/fccc083d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fccc083d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fccc083d

Branch: refs/heads/master
Commit: fccc083d13735e8ae42351ec24383b3cd87bfdd1
Parents: c850a5e
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Aug 4 15:49:36 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Aug 4 15:49:36 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/fccc083d/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")