You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2016/08/03 07:34:10 UTC
camel git commit: Fix typo
Repository: camel
Updated Branches:
refs/heads/master 9d6b69b32 -> 986a85f68
Fix typo
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/986a85f6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/986a85f6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/986a85f6
Branch: refs/heads/master
Commit: 986a85f688a4ea5af797f978fd154c36a7145476
Parents: 9d6b69b
Author: lburgazzoli <lb...@gmail.com>
Authored: Wed Aug 3 09:31:51 2016 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Wed Aug 3 09:33:31 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/986a85f6/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