camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch camel-2.20.x updated: CAMEL-12046: camel-catalog - Allow to plugin custom JSonSchemaResolver
Date Tue, 28 Nov 2017 18:05:08 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-2.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.20.x by this push:
     new 7f0f9b2  CAMEL-12046: camel-catalog - Allow to plugin custom JSonSchemaResolver
7f0f9b2 is described below

commit 7f0f9b21ab7c8a4903c876573d9d64b5de64bee3
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Tue Nov 28 19:04:26 2017 +0100

    CAMEL-12046: camel-catalog - Allow to plugin custom JSonSchemaResolver
---
 .../main/java/org/apache/camel/catalog/CamelCatalog.java  | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
b/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
index 560861c..1c92ca2 100644
--- a/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
+++ b/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
@@ -29,13 +29,26 @@ import javax.management.MXBean;
 public interface CamelCatalog {
 
     /**
+     * Returns the {@link JSonSchemaResolver} used by this catalog.
+     *
+     * @return the resolver
+     */
+    JSonSchemaResolver getJSonSchemaResolver();
+
+    /**
+     * To use a custom {@link JSonSchemaResolver} with this catalog.
+     *
+     * @param resolver  the custom resolver
+     */
+    void setJSonSchemaResolver(JSonSchemaResolver resolver);
+
+    /**
      * To plugin a custom {@link RuntimeProvider} that amends the catalog to only include
information that is supported on the runtime.
      */
     void setRuntimeProvider(RuntimeProvider provider);
 
     /**
      * Gets the {@link RuntimeProvider} in use.
-     * @return
      */
     RuntimeProvider getRuntimeProvider();
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <commits@camel.apache.org>'].

Mime
View raw message