camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: CAMEL-10434: Camel catalog support different runtimes to provide their supported list of components etc.
Date Mon, 07 Nov 2016 20:40:41 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 13af4f0c9 -> 7e8ec3b2d
  refs/heads/master 1c20543ba -> bc6b0f694


CAMEL-10434: Camel catalog support different runtimes to provide their supported list of components
etc.


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

Branch: refs/heads/master
Commit: bc6b0f694002ecda9ce6806d448712a9146add6c
Parents: 1c20543
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Nov 7 21:39:33 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Nov 7 21:39:33 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/catalog/DefaultCamelCatalog.java    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bc6b0f69/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
----------------------------------------------------------------------
diff --git a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
index dc4a10b..0292f2b 100644
--- a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
+++ b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
@@ -121,6 +121,13 @@ public class DefaultCamelCatalog implements CamelCatalog {
         this.runtimeProvider = runtimeProvider;
         // inject CamelCatalog to the provider
         this.runtimeProvider.setCamelCatalog(this);
+        // invalidate the cache
+        cache.remove("findComponentNames");
+        cache.remove("listComponentsAsJson");
+        cache.remove("findDataFormatNames");
+        cache.remove("listDataFormatsAsJson");
+        cache.remove("findLanguageNames");
+        cache.remove("listLanguagesAsJson");
     }
 
     @Override


Mime
View raw message