camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject camel git commit: Fix typo
Date Wed, 03 Aug 2016 07:35:12 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x 6a1b57ca9 -> 9a625aa18


Fix typo


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

Branch: refs/heads/camel-2.17.x
Commit: 9a625aa188596c09d72d9e022c720b60a6f32c77
Parents: 6a1b57c
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Wed Aug 3 09:31:51 2016 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Wed Aug 3 09:34:52 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jcache/JCacheEndpoint.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9a625aa1/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
index b81ad00..ab052fd 100644
--- a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
+++ b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
@@ -32,24 +32,24 @@ public class JCacheEndpoint extends DefaultEndpoint {
     @UriPath(description = "the cache name")
     @Metadata(required = "true")
     private final String cacheName;
-    private final JCacheConfiguration cacheCnfiguration;
+    private final JCacheConfiguration cacheConfiguration;
     private final JCacheManager<Object, Object> cacheManager;
 
     public JCacheEndpoint(String uri, JCacheComponent component, JCacheConfiguration configuration,
String cacheName) {
         super(uri, component);
 
         this.cacheName = cacheName;
-        this.cacheCnfiguration = configuration;
+        this.cacheConfiguration = configuration;
         this.cacheManager = new JCacheManager<>(
             configuration,
             cacheName,
-            getCamelContext().getApplicationContextClassLoader(),
-            super.getCamelContext());
+            component.getCamelContext().getApplicationContextClassLoader(),
+            component.getCamelContext());
     }
 
     @Override
     public Producer createProducer() throws Exception {
-        return new JCacheProducer(this, cacheCnfiguration);
+        return new JCacheProducer(this, cacheConfiguration);
     }
 
     @Override


Mime
View raw message