You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/04/04 13:24:50 UTC
[camel] branch main updated: CAMEL-17879: remove deprecated component camel-jing
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 1900d1e94a3 CAMEL-17879: remove deprecated component camel-jing
1900d1e94a3 is described below
commit 1900d1e94a3c37ddd6b40c1902521df75ccdc64d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 4 13:34:19 2022 +0200
CAMEL-17879: remove deprecated component camel-jing
---
camel-dependencies/pom.xml | 1 -
catalog/camel-allcomponents/pom.xml | 4 -
.../org/apache/camel/catalog/components.properties | 1 -
.../org/apache/camel/catalog/components/jing.json | 33 ----
components/camel-jing/pom.xml | 68 --------
.../validator/jing/JingComponentConfigurer.java | 55 ------
.../validator/jing/JingEndpointConfigurer.java | 55 ------
.../validator/jing/JingEndpointUriFactory.java | 70 --------
.../services/org/apache/camel/component.properties | 7 -
.../services/org/apache/camel/component/jing | 2 -
.../org/apache/camel/configurer/jing-component | 2 -
.../org/apache/camel/configurer/jing-endpoint | 2 -
.../org/apache/camel/urifactory/jing-endpoint | 2 -
.../camel/component/validator/jing/jing.json | 33 ----
.../camel-jing/src/main/docs/jing-component.adoc | 93 -----------
.../component/validator/jing/JingComponent.java | 43 -----
.../component/validator/jing/JingEndpoint.java | 158 ------------------
.../component/validator/jing/JingValidator.java | 89 ----------
.../component/validator/jing/RNCRouteTest.java | 54 ------
.../component/validator/jing/RNGRouteTest.java | 54 ------
.../src/test/resources/log4j2.properties | 30 ----
.../camel/component/validator/jing/rnc-context.xml | 46 -----
.../camel/component/validator/jing/rng-context.xml | 44 -----
.../camel/component/validator/jing/schema.rnc | 23 ---
.../camel/component/validator/jing/schema.rng | 25 ---
.../camel-msv/src/main/docs/msv-component.adoc | 4 -
.../src/main/docs/validator-component.adoc | 7 -
components/pom.xml | 1 -
.../org/apache/camel/main/components.properties | 1 -
.../modules/ROOT/examples/json/jing.json | 1 -
docs/components/modules/ROOT/nav.adoc | 1 -
.../modules/ROOT/pages/jing-component.adoc | 1 -
.../modules/ROOT/pages/exception-clause.adoc | 5 +-
.../component/ComponentsBuilderFactory.java | 15 --
.../component/dsl/JingComponentBuilderFactory.java | 120 -------------
.../src/generated/resources/metadata.json | 22 ---
.../builder/endpoint/EndpointBuilderFactory.java | 1 -
.../camel/builder/endpoint/EndpointBuilders.java | 1 -
.../builder/endpoint/StaticEndpointBuilders.java | 51 ------
.../endpoint/dsl/JingEndpointBuilderFactory.java | 185 ---------------------
parent/pom.xml | 1 -
41 files changed, 2 insertions(+), 1409 deletions(-)
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 18913152b17..15adb330e7f 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -330,7 +330,6 @@
<jgroups-raft-mapdb-version>1.0.8</jgroups-raft-mapdb-version>
<jgroups-raft-version>0.5.3.Final</jgroups-raft-version>
<jgroups-version>4.2.17.Final</jgroups-version>
- <jing-version>20030619</jing-version>
<jira-guava-version>26.0-jre</jira-guava-version>
<jira-rest-client-api-version>5.2.2</jira-rest-client-api-version>
<jnats-version>2.14.0</jnats-version>
diff --git a/catalog/camel-allcomponents/pom.xml b/catalog/camel-allcomponents/pom.xml
index cdb66c8b442..21bcd31e384 100644
--- a/catalog/camel-allcomponents/pom.xml
+++ b/catalog/camel-allcomponents/pom.xml
@@ -769,10 +769,6 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-jgroups</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-jing</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jira</artifactId>
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index b406c2170e3..a56d86d2c67 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -173,7 +173,6 @@ jdbc
jetty
jgroups
jgroups-raft
-jing
jira
jms
jmx
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jing.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jing.json
deleted file mode 100644
index 5543432278d..00000000000
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jing.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "component": {
- "kind": "component",
- "name": "jing",
- "title": "Jing",
- "description": "Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library.",
- "deprecated": true,
- "firstVersion": "1.1.0",
- "label": "validation",
- "javaType": "org.apache.camel.component.validator.jing.JingComponent",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-jing",
- "version": "3.17.0-SNAPSHOT",
- "scheme": "jing",
- "extendsScheme": "",
- "syntax": "jing:resourceUri",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": true,
- "lenientProperties": false
- },
- "componentProperties": {
- "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...]
- "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...]
- },
- "properties": {
- "resourceUri": { "kind": "path", "displayName": "Resource Uri", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system which contains the schema to validate against." },
- "compactSyntax": { "kind": "parameter", "displayName": "Compact Syntax", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to validate using RelaxNG compact syntax or not. By default this is false for using RelaxNG XML Syntax (rng) And true is for using RelaxNG Compact Syntax (rnc)" },
- "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...]
- }
-}
diff --git a/components/camel-jing/pom.xml b/components/camel-jing/pom.xml
deleted file mode 100644
index 9dfd108be2e..00000000000
--- a/components/camel-jing/pom.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.camel</groupId>
- <artifactId>components</artifactId>
- <version>3.17.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>camel-jing</artifactId>
- <packaging>jar</packaging>
- <name>Camel :: Jing (deprecated)</name>
- <description>Camel Jing support</description>
-
- <properties>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-validator</artifactId>
- </dependency>
-
- <dependency>
- <groupId>thaiopensource</groupId>
- <artifactId>jing</artifactId>
- <version>${jing-version}</version>
- </dependency>
-
- <!-- for testing -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-spring-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingComponentConfigurer.java b/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingComponentConfigurer.java
deleted file mode 100644
index 80ada3b85f6..00000000000
--- a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingComponentConfigurer.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.validator.jing;
-
-import java.util.Map;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
-import org.apache.camel.spi.PropertyConfigurerGetter;
-import org.apache.camel.spi.ConfigurerStrategy;
-import org.apache.camel.spi.GeneratedPropertyConfigurer;
-import org.apache.camel.util.CaseInsensitiveMap;
-import org.apache.camel.support.component.PropertyConfigurerSupport;
-
-/**
- * Generated by camel build tools - do NOT edit this file!
- */
-@SuppressWarnings("unchecked")
-public class JingComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
-
- @Override
- public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
- JingComponent target = (JingComponent) obj;
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "autowiredenabled":
- case "autowiredEnabled": target.setAutowiredEnabled(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer":
- case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- @Override
- public Class<?> getOptionType(String name, boolean ignoreCase) {
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "autowiredenabled":
- case "autowiredEnabled": return boolean.class;
- case "lazystartproducer":
- case "lazyStartProducer": return boolean.class;
- default: return null;
- }
- }
-
- @Override
- public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
- JingComponent target = (JingComponent) obj;
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "autowiredenabled":
- case "autowiredEnabled": return target.isAutowiredEnabled();
- case "lazystartproducer":
- case "lazyStartProducer": return target.isLazyStartProducer();
- default: return null;
- }
- }
-}
-
diff --git a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointConfigurer.java b/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointConfigurer.java
deleted file mode 100644
index 115c3fed297..00000000000
--- a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointConfigurer.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.validator.jing;
-
-import java.util.Map;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
-import org.apache.camel.spi.PropertyConfigurerGetter;
-import org.apache.camel.spi.ConfigurerStrategy;
-import org.apache.camel.spi.GeneratedPropertyConfigurer;
-import org.apache.camel.util.CaseInsensitiveMap;
-import org.apache.camel.support.component.PropertyConfigurerSupport;
-
-/**
- * Generated by camel build tools - do NOT edit this file!
- */
-@SuppressWarnings("unchecked")
-public class JingEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
-
- @Override
- public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
- JingEndpoint target = (JingEndpoint) obj;
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "compactsyntax":
- case "compactSyntax": target.setCompactSyntax(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer":
- case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- @Override
- public Class<?> getOptionType(String name, boolean ignoreCase) {
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "compactsyntax":
- case "compactSyntax": return boolean.class;
- case "lazystartproducer":
- case "lazyStartProducer": return boolean.class;
- default: return null;
- }
- }
-
- @Override
- public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
- JingEndpoint target = (JingEndpoint) obj;
- switch (ignoreCase ? name.toLowerCase() : name) {
- case "compactsyntax":
- case "compactSyntax": return target.isCompactSyntax();
- case "lazystartproducer":
- case "lazyStartProducer": return target.isLazyStartProducer();
- default: return null;
- }
- }
-}
-
diff --git a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointUriFactory.java b/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointUriFactory.java
deleted file mode 100644
index 04d3c67ef55..00000000000
--- a/components/camel-jing/src/generated/java/org/apache/camel/component/validator/jing/JingEndpointUriFactory.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.validator.jing;
-
-import java.net.URISyntaxException;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import org.apache.camel.spi.EndpointUriFactory;
-
-/**
- * Generated by camel build tools - do NOT edit this file!
- */
-public class JingEndpointUriFactory extends org.apache.camel.support.component.EndpointUriFactorySupport implements EndpointUriFactory {
-
- private static final String BASE = ":resourceUri";
-
- private static final Set<String> PROPERTY_NAMES;
- private static final Set<String> SECRET_PROPERTY_NAMES;
- private static final Set<String> MULTI_VALUE_PREFIXES;
- static {
- Set<String> props = new HashSet<>(3);
- props.add("compactSyntax");
- props.add("lazyStartProducer");
- props.add("resourceUri");
- PROPERTY_NAMES = Collections.unmodifiableSet(props);
- SECRET_PROPERTY_NAMES = Collections.emptySet();
- MULTI_VALUE_PREFIXES = Collections.emptySet();
- }
-
- @Override
- public boolean isEnabled(String scheme) {
- return "jing".equals(scheme);
- }
-
- @Override
- public String buildUri(String scheme, Map<String, Object> properties, boolean encode) throws URISyntaxException {
- String syntax = scheme + BASE;
- String uri = syntax;
-
- Map<String, Object> copy = new HashMap<>(properties);
-
- uri = buildPathParameter(syntax, uri, "resourceUri", null, true, copy);
- uri = buildQueryParameters(uri, copy, encode);
- return uri;
- }
-
- @Override
- public Set<String> propertyNames() {
- return PROPERTY_NAMES;
- }
-
- @Override
- public Set<String> secretPropertyNames() {
- return SECRET_PROPERTY_NAMES;
- }
-
- @Override
- public Set<String> multiValuePrefixes() {
- return MULTI_VALUE_PREFIXES;
- }
-
- @Override
- public boolean isLenientProperties() {
- return false;
- }
-}
-
diff --git a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component.properties
deleted file mode 100644
index f6a84ed9e0e..00000000000
--- a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-components=jing
-groupId=org.apache.camel
-artifactId=camel-jing
-version=3.17.0-SNAPSHOT
-projectName=Camel :: Jing (deprecated)
-projectDescription=Camel Jing support
diff --git a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component/jing b/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component/jing
deleted file mode 100644
index 7327f97d1f9..00000000000
--- a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/component/jing
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.validator.jing.JingComponent
diff --git a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-component b/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-component
deleted file mode 100644
index 776d176be7f..00000000000
--- a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-component
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.validator.jing.JingComponentConfigurer
diff --git a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-endpoint b/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-endpoint
deleted file mode 100644
index 32e142e5876..00000000000
--- a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/configurer/jing-endpoint
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.validator.jing.JingEndpointConfigurer
diff --git a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/urifactory/jing-endpoint b/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/urifactory/jing-endpoint
deleted file mode 100644
index 651f389e69c..00000000000
--- a/components/camel-jing/src/generated/resources/META-INF/services/org/apache/camel/urifactory/jing-endpoint
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.validator.jing.JingEndpointUriFactory
diff --git a/components/camel-jing/src/generated/resources/org/apache/camel/component/validator/jing/jing.json b/components/camel-jing/src/generated/resources/org/apache/camel/component/validator/jing/jing.json
deleted file mode 100644
index 5543432278d..00000000000
--- a/components/camel-jing/src/generated/resources/org/apache/camel/component/validator/jing/jing.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "component": {
- "kind": "component",
- "name": "jing",
- "title": "Jing",
- "description": "Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library.",
- "deprecated": true,
- "firstVersion": "1.1.0",
- "label": "validation",
- "javaType": "org.apache.camel.component.validator.jing.JingComponent",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-jing",
- "version": "3.17.0-SNAPSHOT",
- "scheme": "jing",
- "extendsScheme": "",
- "syntax": "jing:resourceUri",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": true,
- "lenientProperties": false
- },
- "componentProperties": {
- "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...]
- "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...]
- },
- "properties": {
- "resourceUri": { "kind": "path", "displayName": "Resource Uri", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system which contains the schema to validate against." },
- "compactSyntax": { "kind": "parameter", "displayName": "Compact Syntax", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to validate using RelaxNG compact syntax or not. By default this is false for using RelaxNG XML Syntax (rng) And true is for using RelaxNG Compact Syntax (rnc)" },
- "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...]
- }
-}
diff --git a/components/camel-jing/src/main/docs/jing-component.adoc b/components/camel-jing/src/main/docs/jing-component.adoc
deleted file mode 100644
index 23c59a0e3f9..00000000000
--- a/components/camel-jing/src/main/docs/jing-component.adoc
+++ /dev/null
@@ -1,93 +0,0 @@
-= Jing Component (deprecated)
-:doctitle: Jing
-:shortname: jing
-:artifactid: camel-jing
-:description: Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library.
-:since: 1.1
-:supportlevel: Stable-deprecated
-:deprecated: *deprecated*
-:component-header: Only producer is supported
-//Manually maintained attributes
-:camel-spring-boot-name: jing
-
-*Since Camel {since}*
-
-*{component-header}*
-
-The Jing component uses the
-http://www.thaiopensource.com/relaxng/jing.html[Jing Library] to perform
-XML validation of the message body using either
-
-* http://relaxng.org/[RelaxNG XML Syntax]
-* http://relaxng.org/compact-tutorial-20030326.html[RelaxNG Compact
-Syntax]
-
-Maven users will need to add the following dependency to their `pom.xml`
-for this component:
-
-[source,xml]
-------------------------------------------------------------
-<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-jing</artifactId>
- <version>x.x.x</version>
- <!-- use the same version as your Camel core version -->
-</dependency>
-------------------------------------------------------------
-
-Note that the xref:msv-component.adoc[MSV] component can also support RelaxNG XML
-syntax.
-
-== URI format
-
-------------------------------
-jing:someLocalOrRemoteResource
-------------------------------
-
-The component uses jing as name, and you can use the
-option compactSyntax to turn on either RNG or RNC mode.
-
-
-// component-configure options: START
-
-// component-configure options: END
-
-// component options: START
-include::partial$component-configure-options.adoc[]
-include::partial$component-endpoint-options.adoc[]
-// component options: END
-
-// endpoint options: START
-
-// endpoint options: END
-
-== Example
-
-The following example shows how to configure a route from the endpoint *direct:start* which
-then goes to one of two endpoints, either *mock:valid* or *mock:invalid*
-based on whether or not the XML matches the given
-http://relaxng.org/compact-tutorial-20030326.html[RelaxNG Compact Syntax]
-schema (which is supplied on the classpath).
-
-[source,xml]
-----
- <camelContext xmlns="http://camel.apache.org/schema/spring">
- <route>
- <from uri="direct:start"/>
- <doTry>
- <to uri="jing:org/apache/camel/component/validator/jing/schema.rnc?compactSyntax=true"/>
- <to uri="mock:valid"/>
- <doCatch>
- <exception>org.apache.camel.ValidationException</exception>
- <to uri="mock:invalid"/>
- </doCatch>
- <doFinally>
- <to uri="mock:finally"/>
- </doFinally>
- </doTry>
- </route>
- </camelContext>
-----
-
-
-include::spring-boot:partial$starter.adoc[]
diff --git a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingComponent.java b/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingComponent.java
deleted file mode 100644
index a371117f5b0..00000000000
--- a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingComponent.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing;
-
-import java.util.Map;
-
-import org.apache.camel.Endpoint;
-import org.apache.camel.spi.annotations.Component;
-import org.apache.camel.support.DefaultComponent;
-
-/**
- * A component for validating XML payloads using the <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing
- * library</a>
- */
-@Component("jing")
-public class JingComponent extends DefaultComponent {
-
- public JingComponent() {
- }
-
- @Override
- protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
- JingEndpoint answer = new JingEndpoint(uri, this);
- answer.setResourceUri(remaining);
- setProperties(answer, parameters);
- return answer;
- }
-
-}
diff --git a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingEndpoint.java b/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingEndpoint.java
deleted file mode 100644
index fd28058ce6e..00000000000
--- a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingEndpoint.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing;
-
-import java.io.InputStream;
-
-import org.xml.sax.InputSource;
-
-import com.thaiopensource.relaxng.SchemaFactory;
-import com.thaiopensource.validate.Schema;
-import com.thaiopensource.xml.sax.Jaxp11XMLReaderCreator;
-import org.apache.camel.Category;
-import org.apache.camel.Component;
-import org.apache.camel.Consumer;
-import org.apache.camel.Processor;
-import org.apache.camel.Producer;
-import org.apache.camel.spi.Metadata;
-import org.apache.camel.spi.UriEndpoint;
-import org.apache.camel.spi.UriParam;
-import org.apache.camel.spi.UriPath;
-import org.apache.camel.support.DefaultEndpoint;
-import org.apache.camel.support.ResourceHelper;
-import org.apache.camel.util.StringHelper;
-
-/**
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library.
- */
-@UriEndpoint(firstVersion = "1.1.0", scheme = "jing", title = "Jing", syntax = "jing:resourceUri", producerOnly = true,
- category = { Category.VALIDATION })
-public class JingEndpoint extends DefaultEndpoint {
-
- @UriPath
- @Metadata(required = true)
- private String resourceUri;
- @UriParam
- private boolean compactSyntax;
-
- private Schema schema;
- private SchemaFactory schemaFactory;
- private InputSource inputSource;
-
- public JingEndpoint(String endpointUri, Component component) {
- super(endpointUri, component);
- }
-
- @Override
- public Producer createProducer() throws Exception {
- JingValidator answer = new JingValidator(this);
- answer.setSchema(getSchema());
- return answer;
- }
-
- @Override
- public Consumer createConsumer(Processor processor) throws Exception {
- throw new UnsupportedOperationException("This endpoint does not support consumer");
- }
-
- public String getResourceUri() {
- return resourceUri;
- }
-
- /**
- * URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system which
- * contains the schema to validate against.
- */
- public void setResourceUri(String resourceUri) {
- this.resourceUri = resourceUri;
- }
-
- public boolean isCompactSyntax() {
- return compactSyntax;
- }
-
- /**
- * Whether to validate using RelaxNG compact syntax or not.
- * <p/>
- * By default this is <tt>false</tt> for using RelaxNG XML Syntax (rng) And <tt>true</tt> is for using RelaxNG
- * Compact Syntax (rnc)
- */
- public void setCompactSyntax(boolean compactSyntax) {
- this.compactSyntax = compactSyntax;
- }
-
- public Schema getSchema() {
- return schema;
- }
-
- public void setSchema(Schema schema) {
- this.schema = schema;
- }
-
- public SchemaFactory getSchemaFactory() {
- return schemaFactory;
- }
-
- public void setSchemaFactory(SchemaFactory schemaFactory) {
- this.schemaFactory = schemaFactory;
- }
-
- public InputSource getInputSource() {
- return inputSource;
- }
-
- public void setInputSource(InputSource inputSource) {
- this.inputSource = inputSource;
- }
-
- @Override
- protected void doInit() throws Exception {
- super.doInit();
-
- if (ResourceHelper.isClasspathUri(resourceUri)) {
- initialize();
- }
- }
-
- @Override
- protected void doStart() throws Exception {
- super.doStart();
-
- if (!ResourceHelper.isClasspathUri(resourceUri)) {
- initialize();
- }
- }
-
- private void initialize() throws Exception {
- if (inputSource == null) {
- StringHelper.notEmpty(resourceUri, "resourceUri", this);
- InputStream inputStream = ResourceHelper.resolveMandatoryResourceAsInputStream(getCamelContext(), resourceUri);
- inputSource = new InputSource(inputStream);
- }
-
- if (schemaFactory == null) {
- schemaFactory = new SchemaFactory();
- schemaFactory.setCompactSyntax(compactSyntax);
- schemaFactory.setXMLReaderCreator(new Jaxp11XMLReaderCreator());
- }
-
- if (schema == null) {
- schema = schemaFactory.createSchema(inputSource);
- }
- }
-
-}
diff --git a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingValidator.java b/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingValidator.java
deleted file mode 100644
index deb8ca454d9..00000000000
--- a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/JingValidator.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.sax.SAXSource;
-
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-
-import com.thaiopensource.util.PropertyMap;
-import com.thaiopensource.util.PropertyMapBuilder;
-import com.thaiopensource.validate.Schema;
-import com.thaiopensource.validate.ValidateProperty;
-import com.thaiopensource.validate.Validator;
-import com.thaiopensource.xml.sax.Jaxp11XMLReaderCreator;
-import org.apache.camel.Endpoint;
-import org.apache.camel.Exchange;
-import org.apache.camel.Message;
-import org.apache.camel.support.DefaultProducer;
-import org.apache.camel.support.ExchangeHelper;
-import org.apache.camel.support.processor.validation.DefaultValidationErrorHandler;
-
-/**
- * A validator which uses the <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a> library to validate XML
- * against RelaxNG
- */
-public class JingValidator extends DefaultProducer {
- private Schema schema;
-
- public JingValidator(Endpoint endpoint) {
- super(endpoint);
- }
-
- @Override
- public void process(Exchange exchange) throws Exception {
- Jaxp11XMLReaderCreator xmlCreator = new Jaxp11XMLReaderCreator();
- DefaultValidationErrorHandler errorHandler = new DefaultValidationErrorHandler();
-
- PropertyMapBuilder mapBuilder = new PropertyMapBuilder();
- mapBuilder.put(ValidateProperty.XML_READER_CREATOR, xmlCreator);
- mapBuilder.put(ValidateProperty.ERROR_HANDLER, errorHandler);
- PropertyMap propertyMap = mapBuilder.toPropertyMap();
-
- Validator validator = getSchema().createValidator(propertyMap);
-
- Message in = exchange.getIn();
- SAXSource saxSource = in.getBody(SAXSource.class);
- if (saxSource == null) {
- Source source = exchange.getIn().getMandatoryBody(Source.class);
- saxSource = ExchangeHelper.convertToMandatoryType(exchange, SAXSource.class, source);
- }
- InputSource bodyInput = saxSource.getInputSource();
-
- // now lets parse the body using the validator
- XMLReader reader = xmlCreator.createXMLReader();
- reader.setContentHandler(validator.getContentHandler());
- reader.setDTDHandler(validator.getDTDHandler());
- reader.setErrorHandler(errorHandler);
- reader.parse(bodyInput);
-
- errorHandler.handleErrors(exchange, schema);
- }
-
- // Properties
- // -------------------------------------------------------------------------
-
- public Schema getSchema() {
- return schema;
- }
-
- public void setSchema(Schema schema) {
- this.schema = schema;
- }
-}
diff --git a/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNCRouteTest.java b/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNCRouteTest.java
deleted file mode 100644
index 5b29e28e274..00000000000
--- a/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNCRouteTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing;
-
-import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
-import org.junit.jupiter.api.Test;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class RNCRouteTest extends CamelSpringTestSupport {
-
- @Override
- protected ClassPathXmlApplicationContext createApplicationContext() {
- return new ClassPathXmlApplicationContext("org/apache/camel/component/validator/jing/rnc-context.xml");
- }
-
- @Test
- public void testValidMessage() throws Exception {
- getMockEndpoint("mock:valid").expectedMessageCount(1);
- getMockEndpoint("mock:invalid").expectedMessageCount(0);
- getMockEndpoint("mock:finally").expectedMessageCount(1);
-
- template.sendBody("direct:start",
- "<mail xmlns='http://foo.com/bar'><subject>Hey</subject><body>Hello world!</body></mail>");
-
- assertMockEndpointsSatisfied();
- }
-
- @Test
- public void testInvalidMessage() throws Exception {
- getMockEndpoint("mock:valid").expectedMessageCount(0);
- getMockEndpoint("mock:invalid").expectedMessageCount(1);
- getMockEndpoint("mock:finally").expectedMessageCount(1);
-
- template.sendBody("direct:start",
- "<mail xmlns='http://foo.com/bar'><body>Hello world!</body></mail>");
-
- assertMockEndpointsSatisfied();
- }
-
-}
diff --git a/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNGRouteTest.java b/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNGRouteTest.java
deleted file mode 100644
index eadeb950fcd..00000000000
--- a/components/camel-jing/src/test/java/org/apache/camel/component/validator/jing/RNGRouteTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing;
-
-import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
-import org.junit.jupiter.api.Test;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class RNGRouteTest extends CamelSpringTestSupport {
-
- @Override
- protected ClassPathXmlApplicationContext createApplicationContext() {
- return new ClassPathXmlApplicationContext("org/apache/camel/component/validator/jing/rng-context.xml");
- }
-
- @Test
- public void testValidMessage() throws Exception {
- getMockEndpoint("mock:valid").expectedMessageCount(1);
- getMockEndpoint("mock:invalid").expectedMessageCount(0);
- getMockEndpoint("mock:finally").expectedMessageCount(1);
-
- template.sendBody("direct:start",
- "<mail xmlns='http://foo.com/bar'><subject>Hey</subject><body>Hello world!</body></mail>");
-
- assertMockEndpointsSatisfied();
- }
-
- @Test
- public void testInvalidMessage() throws Exception {
- getMockEndpoint("mock:valid").expectedMessageCount(0);
- getMockEndpoint("mock:invalid").expectedMessageCount(1);
- getMockEndpoint("mock:finally").expectedMessageCount(1);
-
- template.sendBody("direct:start",
- "<mail xmlns='http://foo.com/bar'><body>Hello world!</body></mail>");
-
- assertMockEndpointsSatisfied();
- }
-
-}
diff --git a/components/camel-jing/src/test/resources/log4j2.properties b/components/camel-jing/src/test/resources/log4j2.properties
deleted file mode 100644
index fcce4ca6d2c..00000000000
--- a/components/camel-jing/src/test/resources/log4j2.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-appender.file.type = File
-appender.file.name = file
-appender.file.fileName = target/camel-jing-test.log
-appender.file.layout.type = PatternLayout
-appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-appender.out.type = Console
-appender.out.name = out
-appender.out.layout.type = PatternLayout
-appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n
-logger.springframework.name = org.springframework
-logger.springframework.level = WARN
-rootLogger.level = INFO
-rootLogger.appenderRef.file.ref = file
diff --git a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml b/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml
deleted file mode 100644
index 14c884bb102..00000000000
--- a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
- ">
-
- <!-- START SNIPPET: example -->
- <camelContext xmlns="http://camel.apache.org/schema/spring">
- <route>
- <from uri="direct:start"/>
- <doTry>
- <to uri="jing:org/apache/camel/component/validator/jing/schema.rnc?compactSyntax=true"/>
- <to uri="mock:valid"/>
- <doCatch>
- <exception>org.apache.camel.ValidationException</exception>
- <to uri="mock:invalid"/>
- </doCatch>
- <doFinally>
- <to uri="mock:finally"/>
- </doFinally>
- </doTry>
- </route>
- </camelContext>
- <!-- END SNIPPET: example -->
-
-</beans>
diff --git a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rng-context.xml b/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rng-context.xml
deleted file mode 100644
index c13f827a6af..00000000000
--- a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rng-context.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
- ">
-
- <camelContext xmlns="http://camel.apache.org/schema/spring">
- <route>
- <from uri="direct:start"/>
- <doTry>
- <to uri="jing:org/apache/camel/component/validator/jing/schema.rng"/>
- <to uri="mock:valid"/>
- <doCatch>
- <exception>org.apache.camel.ValidationException</exception>
- <to uri="mock:invalid"/>
- </doCatch>
- <doFinally>
- <to uri="mock:finally"/>
- </doFinally>
- </doTry>
- </route>
- </camelContext>
-
-</beans>
diff --git a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rnc b/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rnc
deleted file mode 100644
index 6596372af31..00000000000
--- a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rnc
+++ /dev/null
@@ -1,23 +0,0 @@
-# ------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ------------------------------------------------------------------------
-
-default namespace = "http://foo.com/bar"
-
-element mail {
- element subject { text },
- element body { text }
-}
diff --git a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rng b/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rng
deleted file mode 100644
index eb58b3d0f35..00000000000
--- a/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/schema.rng
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<element xmlns="http://relaxng.org/ns/structure/1.0" ns="http://foo.com/bar" name="mail">
- <element name="subject">
- <text/>
- </element>
- <element name="body">
- <text/>
- </element>
-</element>
diff --git a/components/camel-msv/src/main/docs/msv-component.adoc b/components/camel-msv/src/main/docs/msv-component.adoc
index 8b0cba8efe2..7f47fc77646 100644
--- a/components/camel-msv/src/main/docs/msv-component.adoc
+++ b/components/camel-msv/src/main/docs/msv-component.adoc
@@ -32,10 +32,6 @@ for this component:
</dependency>
------------------------------------------------------------
-Note that the xref:jing-component.adoc[Jing] component also supports
-http://relaxng.org/compact-tutorial-20030326.html[RelaxNG Compact
-Syntax]
-
== URI format
---------------------------------------
diff --git a/components/camel-validator/src/main/docs/validator-component.adoc b/components/camel-validator/src/main/docs/validator-component.adoc
index 6b5ae976b42..0d945ddd9b5 100644
--- a/components/camel-validator/src/main/docs/validator-component.adoc
+++ b/components/camel-validator/src/main/docs/validator-component.adoc
@@ -19,13 +19,6 @@ using the JAXP Validation API and based on any of the supported XML
schema languages, which defaults to http://www.w3.org/XML/Schema[XML
Schema]
-Note that the xref:jing-component.adoc[Jing] component also supports the following
-useful schema languages:
-
-* http://relaxng.org/compact-tutorial-20030326.html[RelaxNG Compact
-Syntax]
-* http://relaxng.org/[RelaxNG XML Syntax]
-
The xref:msv-component.adoc[MSV] component also supports
http://relaxng.org/[RelaxNG XML Syntax].
diff --git a/components/pom.xml b/components/pom.xml
index 2b7e29b0b43..ae19404a49d 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -191,7 +191,6 @@
<module>camel-jfr</module>
<module>camel-jgroups-raft</module>
<module>camel-jgroups</module>
- <module>camel-jing</module>
<module>camel-jira</module>
<module>camel-jmx</module>
<module>camel-johnzon</module>
diff --git a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
index b406c2170e3..a56d86d2c67 100644
--- a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
+++ b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
@@ -173,7 +173,6 @@ jdbc
jetty
jgroups
jgroups-raft
-jing
jira
jms
jmx
diff --git a/docs/components/modules/ROOT/examples/json/jing.json b/docs/components/modules/ROOT/examples/json/jing.json
deleted file mode 120000
index ee63edccbbf..00000000000
--- a/docs/components/modules/ROOT/examples/json/jing.json
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../components/camel-jing/src/generated/resources/org/apache/camel/component/validator/jing/jing.json
\ No newline at end of file
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 5da10bffcb8..b75b283cbc4 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -179,7 +179,6 @@
** xref:websocket-component.adoc[Jetty Websocket]
** xref:jgroups-component.adoc[JGroups]
** xref:jgroups-raft-component.adoc[JGroups raft]
-** xref:jing-component.adoc[Jing]
** xref:jira-component.adoc[Jira]
** xref:jms-component.adoc[JMS]
** xref:jmx-component.adoc[JMX]
diff --git a/docs/components/modules/ROOT/pages/jing-component.adoc b/docs/components/modules/ROOT/pages/jing-component.adoc
deleted file mode 120000
index 864f49d1f7a..00000000000
--- a/docs/components/modules/ROOT/pages/jing-component.adoc
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../components/camel-jing/src/main/docs/jing-component.adoc
\ No newline at end of file
diff --git a/docs/user-manual/modules/ROOT/pages/exception-clause.adoc b/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
index 2e76738b13c..17294fa4d1f 100644
--- a/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
+++ b/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
@@ -23,9 +23,8 @@ from("seda:inputB")
Here if the processing of *`seda:inputA`* or *`seda:inputB`* cause
a *`ValidationException`* to be thrown (such as due to the XSD
-validation of the xref:components::validator-component.adoc[Validation] component or the
-Relax NG Compact syntax validation of the xref:components::jing-component.adoc[Jing]
-component), then the message will be sent to the
+validation of the xref:components::validator-component.adoc[Validation] component),
+then the message will be sent to the
*`activemq:validationFailed`* queue.
You can define multiple *`onException`* clauses for different behavior:
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 43788504544..2b02818cf61 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -2373,21 +2373,6 @@ public interface ComponentsBuilderFactory {
static org.apache.camel.builder.component.dsl.JgroupsRaftComponentBuilderFactory.JgroupsRaftComponentBuilder jgroupsRaft() {
return org.apache.camel.builder.component.dsl.JgroupsRaftComponentBuilderFactory.jgroupsRaft();
}
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * @return the dsl builder
- */
- @Deprecated
- static org.apache.camel.builder.component.dsl.JingComponentBuilderFactory.JingComponentBuilder jing() {
- return org.apache.camel.builder.component.dsl.JingComponentBuilderFactory.jing();
- }
/**
* Jira (camel-jira)
* Interact with JIRA issue tracker.
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JingComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JingComponentBuilderFactory.java
deleted file mode 100644
index 6b08db4707f..00000000000
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JingComponentBuilderFactory.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.component.dsl;
-
-import javax.annotation.Generated;
-import org.apache.camel.Component;
-import org.apache.camel.builder.component.AbstractComponentBuilder;
-import org.apache.camel.builder.component.ComponentBuilder;
-import org.apache.camel.component.validator.jing.JingComponent;
-
-/**
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using
- * Jing library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
-public interface JingComponentBuilderFactory {
-
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * @return the dsl builder
- */
- @Deprecated
- static JingComponentBuilder jing() {
- return new JingComponentBuilderImpl();
- }
-
- /**
- * Builder for the Jing component.
- */
- interface JingComponentBuilder extends ComponentBuilder<JingComponent> {
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default JingComponentBuilder lazyStartProducer(boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether autowiring is enabled. This is used for automatic autowiring
- * options (the option must be marked as autowired) by looking up in the
- * registry to find if there is a single instance of matching type,
- * which then gets configured on the component. This can be used for
- * automatic configuring JDBC data sources, JMS connection factories,
- * AWS Clients, etc.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: advanced
- *
- * @param autowiredEnabled the value to set
- * @return the dsl builder
- */
- default JingComponentBuilder autowiredEnabled(boolean autowiredEnabled) {
- doSetProperty("autowiredEnabled", autowiredEnabled);
- return this;
- }
- }
-
- class JingComponentBuilderImpl
- extends
- AbstractComponentBuilder<JingComponent>
- implements
- JingComponentBuilder {
- @Override
- protected JingComponent buildConcreteComponent() {
- return new JingComponent();
- }
- @Override
- protected boolean setPropertyOnComponent(
- Component component,
- String name,
- Object value) {
- switch (name) {
- case "lazyStartProducer": ((JingComponent) component).setLazyStartProducer((boolean) value); return true;
- case "autowiredEnabled": ((JingComponent) component).setAutowiredEnabled((boolean) value); return true;
- default: return false;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/dsl/camel-componentdsl/src/generated/resources/metadata.json b/dsl/camel-componentdsl/src/generated/resources/metadata.json
index 50a83174d3a..267225c175a 100644
--- a/dsl/camel-componentdsl/src/generated/resources/metadata.json
+++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json
@@ -3886,28 +3886,6 @@
"producerOnly": false,
"lenientProperties": false
},
- "JingComponentBuilderFactory": {
- "kind": "component",
- "name": "jing",
- "title": "Jing",
- "description": "Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library.",
- "deprecated": true,
- "firstVersion": "1.1.0",
- "label": "validation",
- "javaType": "org.apache.camel.component.validator.jing.JingComponent",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-jing",
- "version": "3.17.0-SNAPSHOT",
- "scheme": "jing",
- "extendsScheme": "",
- "syntax": "jing:resourceUri",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": true,
- "lenientProperties": false
- },
"JiraComponentBuilderFactory": {
"kind": "component",
"name": "jira",
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index 14aa120c404..62da8767b25 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -182,7 +182,6 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.JcrEndpointBuilderFactory.JcrBuilders,
org.apache.camel.builder.endpoint.dsl.JdbcEndpointBuilderFactory.JdbcBuilders,
org.apache.camel.builder.endpoint.dsl.JettyHttpEndpointBuilderFactory.JettyHttpBuilders,
- org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory.JingBuilders,
org.apache.camel.builder.endpoint.dsl.JiraEndpointBuilderFactory.JiraBuilders,
org.apache.camel.builder.endpoint.dsl.JmsEndpointBuilderFactory.JmsBuilders,
org.apache.camel.builder.endpoint.dsl.JoltEndpointBuilderFactory.JoltBuilders,
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index 041bf2e5fc2..53a0cbcfb7c 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -179,7 +179,6 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.JcrEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JdbcEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JettyHttpEndpointBuilderFactory,
- org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JiraEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JmsEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JoltEndpointBuilderFactory,
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 8e68a29b333..a360e2ab739 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -7979,57 +7979,6 @@ public class StaticEndpointBuilders {
String path) {
return org.apache.camel.builder.endpoint.dsl.JGroupsRaftEndpointBuilderFactory.endpointBuilder(componentName, path);
}
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * Syntax: <code>jing:resourceUri</code>
- *
- * Path parameter: resourceUri (required)
- * URL to a local resource on the classpath or a full URL to a remote
- * resource or resource on the file system which contains the schema to
- * validate against.
- *
- * @param path resourceUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory.JingEndpointBuilder jing(
- String path) {
- return org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory.endpointBuilder("jing", path);
- }
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * Syntax: <code>jing:resourceUri</code>
- *
- * Path parameter: resourceUri (required)
- * URL to a local resource on the classpath or a full URL to a remote
- * resource or resource on the file system which contains the schema to
- * validate against.
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path resourceUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory.JingEndpointBuilder jing(
- String componentName,
- String path) {
- return org.apache.camel.builder.endpoint.dsl.JingEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
/**
* Jira (camel-jira)
* Interact with JIRA issue tracker.
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JingEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JingEndpointBuilderFactory.java
deleted file mode 100644
index aab5bcdb74d..00000000000
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JingEndpointBuilderFactory.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.endpoint.dsl;
-
-import java.util.*;
-import java.util.concurrent.*;
-import java.util.function.*;
-import java.util.stream.*;
-import javax.annotation.Generated;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-
-/**
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using
- * Jing library.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface JingEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint for the Jing component.
- */
- public interface JingEndpointBuilder extends EndpointProducerBuilder {
- /**
- * Whether to validate using RelaxNG compact syntax or not. By default
- * this is false for using RelaxNG XML Syntax (rng) And true is for
- * using RelaxNG Compact Syntax (rnc).
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param compactSyntax the value to set
- * @return the dsl builder
- */
- default JingEndpointBuilder compactSyntax(boolean compactSyntax) {
- doSetProperty("compactSyntax", compactSyntax);
- return this;
- }
- /**
- * Whether to validate using RelaxNG compact syntax or not. By default
- * this is false for using RelaxNG XML Syntax (rng) And true is for
- * using RelaxNG Compact Syntax (rnc).
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param compactSyntax the value to set
- * @return the dsl builder
- */
- default JingEndpointBuilder compactSyntax(String compactSyntax) {
- doSetProperty("compactSyntax", compactSyntax);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default JingEndpointBuilder lazyStartProducer(boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default JingEndpointBuilder lazyStartProducer(String lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- }
-
- public interface JingBuilders {
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * Syntax: <code>jing:resourceUri</code>
- *
- * Path parameter: resourceUri (required)
- * URL to a local resource on the classpath or a full URL to a remote
- * resource or resource on the file system which contains the schema to
- * validate against.
- *
- * @param path resourceUri
- * @return the dsl builder
- */
- @Deprecated
- default JingEndpointBuilder jing(String path) {
- return JingEndpointBuilderFactory.endpointBuilder("jing", path);
- }
- /**
- * Jing (camel-jing)
- * Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax)
- * using Jing library.
- *
- * Category: validation
- * Since: 1.1
- * Maven coordinates: org.apache.camel:camel-jing
- *
- * Syntax: <code>jing:resourceUri</code>
- *
- * Path parameter: resourceUri (required)
- * URL to a local resource on the classpath or a full URL to a remote
- * resource or resource on the file system which contains the schema to
- * validate against.
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path resourceUri
- * @return the dsl builder
- */
- @Deprecated
- default JingEndpointBuilder jing(String componentName, String path) {
- return JingEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static JingEndpointBuilder endpointBuilder(String componentName, String path) {
- class JingEndpointBuilderImpl extends AbstractEndpointBuilder implements JingEndpointBuilder {
- public JingEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new JingEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file
diff --git a/parent/pom.xml b/parent/pom.xml
index 61d495bd56a..9b76265243c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -318,7 +318,6 @@
<jira-guava-version>26.0-jre</jira-guava-version>
<jira-rest-client-api-version>5.2.2</jira-rest-client-api-version>
<libthrift-version>0.14.1</libthrift-version>
- <jing-version>20030619</jing-version>
<jodatime2-version>2.10.11</jodatime2-version>
<jota-version>1.0.0-beta9</jota-version>
<jolt-version>0.1.6</jolt-version>