You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/11/28 18:05:06 UTC

[camel] branch master updated: CAMEL-12046: camel-catalog - Allow to plugin custom JSonSchemaResolver

This is an automated email from the ASF dual-hosted git repository.

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


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

commit e0aba93d786f62e1750fce1c27efcf24b9733008
Author: Claus Ibsen <cl...@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" <co...@camel.apache.org>'].