camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: CAMEL-10267 - Cleanup is not Clear
Date Thu, 22 Jun 2017 07:35:28 GMT
CAMEL-10267 - Cleanup is not Clear


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

Branch: refs/heads/master
Commit: 6888a8c457a45c2aa46f790de2ded0ccb8ff77fc
Parents: eb64a8e
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Jun 22 09:29:57 2017 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Jun 22 09:30:35 2017 +0200

----------------------------------------------------------------------
 .../camel/component/caffeine/cache/CaffeineCacheProducer.java      | 2 +-
 .../camel/component/caffeine/load/CaffeineLoadCacheProducer.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6888a8c4/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/cache/CaffeineCacheProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/cache/CaffeineCacheProducer.java
b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/cache/CaffeineCacheProducer.java
index cbb4326..bdf7e66 100644
--- a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/cache/CaffeineCacheProducer.java
+++ b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/cache/CaffeineCacheProducer.java
@@ -45,7 +45,7 @@ public class CaffeineCacheProducer extends HeaderSelectorProducer {
     // ****************************
 
     @InvokeOnHeader(CaffeineConstants.ACTION_CLEANUP)
-    public void onClear(Message message) throws Exception {
+    public void onCleanUp(Message message) throws Exception {
         cache.cleanUp();
 
         setResult(message, true, null, null);

http://git-wip-us.apache.org/repos/asf/camel/blob/6888a8c4/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/load/CaffeineLoadCacheProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/load/CaffeineLoadCacheProducer.java
b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/load/CaffeineLoadCacheProducer.java
index 1dd4299..51c1141 100644
--- a/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/load/CaffeineLoadCacheProducer.java
+++ b/components/camel-caffeine/src/main/java/org/apache/camel/component/caffeine/load/CaffeineLoadCacheProducer.java
@@ -45,7 +45,7 @@ public class CaffeineLoadCacheProducer extends HeaderSelectorProducer {
     // ****************************
 
     @InvokeOnHeader(CaffeineConstants.ACTION_CLEANUP)
-    public void onClear(Message message) throws Exception {
+    public void onCleanUp(Message message) throws Exception {
         cache.cleanUp();
 
         setResult(message, true, null, null);


Mime
View raw message