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:08 UTC
[camel] branch camel-2.20.x 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 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 <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>'].