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

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

commit 3b5c775cedee55390f0f460f0fb86c25a5496a53
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Feb 16 08:59:26 2021 +0100

    CAMEL-16115 - Remove Camel-AWS-* components - AWS-Translate
---
 components/camel-aws-translate/pom.xml             |  67 -------
 .../translate/TranslateComponentConfigurer.java    | 131 -------------
 .../aws/translate/TranslateEndpointConfigurer.java | 115 ------------
 .../aws/translate/TranslateEndpointUriFactory.java |  77 --------
 .../services/org/apache/camel/component.properties |   7 -
 .../org/apache/camel/component/aws-translate       |   2 -
 .../camel/configurer/aws-translate-component       |   2 -
 .../apache/camel/configurer/aws-translate-endpoint |   2 -
 .../apache/camel/urifactory/aws-translate-endpoint |   2 -
 .../component/aws/translate/aws-translate.json     |  58 ------
 .../src/main/docs/aws-translate-component.adoc     | 178 ------------------
 .../aws/translate/TranslateComponent.java          |  82 ---------
 .../TranslateComponentVerifierExtension.java       |  96 ----------
 .../aws/translate/TranslateConfiguration.java      | 204 ---------------------
 .../aws/translate/TranslateConstants.java          |  27 ---
 .../component/aws/translate/TranslateEndpoint.java | 124 -------------
 .../aws/translate/TranslateLanguageEnum.java       |  60 ------
 .../aws/translate/TranslateOperations.java         |  22 ---
 .../component/aws/translate/TranslateProducer.java | 136 --------------
 .../aws/translate/AmazonAWSTranslateMock.java      |  31 ----
 .../aws/translate/TranslateProducerSpringTest.java |  60 ------
 .../aws/translate/TranslateProducerTest.java       |  90 ---------
 .../TranslateProducerIntegrationTest.java          |  92 ----------
 .../src/test/resources/log4j2.properties           |  28 ---
 .../TranslateComponentSpringTest-context.xml       |  35 ----
 components/pom.xml                                 |   1 -
 26 files changed, 1729 deletions(-)

diff --git a/components/camel-aws-translate/pom.xml 
b/components/camel-aws-translate/pom.xml
deleted file mode 100644
index e470e7b..0000000
--- a/components/camel-aws-translate/pom.xml
+++ /dev/null
@@ -1,67 +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.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>camel-aws-translate</artifactId>
-    <packaging>jar</packaging>
-
-    <name>Camel :: AWS Translate (deprecated)</name>
-    <description>A Camel Amazon Translate Web Service Component</description>
-
-    <properties>
-        <deprecatedSince>3.8.0</deprecatedSince>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-support</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.amazonaws</groupId>
-            <artifactId>aws-java-sdk-translate</artifactId>
-            <version>${aws-java-sdk-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-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateComponentConfigurer.java
 
b/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateComponentConfigurer.java
deleted file mode 100644
index 047fc36..0000000
--- 
a/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateComponentConfigurer.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.aws.translate;
-
-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 TranslateComponentConfigurer extends PropertyConfigurerSupport 
implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
-
-    private org.apache.camel.component.aws.translate.TranslateConfiguration 
getOrCreateConfiguration(TranslateComponent target) {
-        if (target.getConfiguration() == null) {
-            target.setConfiguration(new 
org.apache.camel.component.aws.translate.TranslateConfiguration());
-        }
-        return target.getConfiguration();
-    }
-
-    @Override
-    public boolean configure(CamelContext camelContext, Object obj, String 
name, Object value, boolean ignoreCase) {
-        TranslateComponent target = (TranslateComponent) obj;
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": 
getOrCreateConfiguration(target).setAccessKey(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "autodiscoverclient":
-        case "autoDiscoverClient": 
getOrCreateConfiguration(target).setAutoDiscoverClient(property(camelContext, 
boolean.class, value)); return true;
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": 
getOrCreateConfiguration(target).setAutodetectSourceLanguage(property(camelContext,
 boolean.class, value)); return true;
-        case "autowiredenabled":
-        case "autowiredEnabled": 
target.setAutowiredEnabled(property(camelContext, boolean.class, value)); 
return true;
-        case "configuration": target.setConfiguration(property(camelContext, 
org.apache.camel.component.aws.translate.TranslateConfiguration.class, value)); 
return true;
-        case "lazystartproducer":
-        case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
-        case "operation": 
getOrCreateConfiguration(target).setOperation(property(camelContext, 
org.apache.camel.component.aws.translate.TranslateOperations.class, value)); 
return true;
-        case "proxyhost":
-        case "proxyHost": 
getOrCreateConfiguration(target).setProxyHost(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "proxyport":
-        case "proxyPort": 
getOrCreateConfiguration(target).setProxyPort(property(camelContext, 
java.lang.Integer.class, value)); return true;
-        case "proxyprotocol":
-        case "proxyProtocol": 
getOrCreateConfiguration(target).setProxyProtocol(property(camelContext, 
com.amazonaws.Protocol.class, value)); return true;
-        case "region": 
getOrCreateConfiguration(target).setRegion(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "secretkey":
-        case "secretKey": 
getOrCreateConfiguration(target).setSecretKey(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "sourcelanguage":
-        case "sourceLanguage": 
getOrCreateConfiguration(target).setSourceLanguage(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "targetlanguage":
-        case "targetLanguage": 
getOrCreateConfiguration(target).setTargetLanguage(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "translateclient":
-        case "translateClient": 
getOrCreateConfiguration(target).setTranslateClient(property(camelContext, 
com.amazonaws.services.translate.AmazonTranslate.class, value)); return true;
-        default: return false;
-        }
-    }
-
-    @Override
-    public Class<?> getOptionType(String name, boolean ignoreCase) {
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": return java.lang.String.class;
-        case "autodiscoverclient":
-        case "autoDiscoverClient": return boolean.class;
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": return boolean.class;
-        case "autowiredenabled":
-        case "autowiredEnabled": return boolean.class;
-        case "configuration": return 
org.apache.camel.component.aws.translate.TranslateConfiguration.class;
-        case "lazystartproducer":
-        case "lazyStartProducer": return boolean.class;
-        case "operation": return 
org.apache.camel.component.aws.translate.TranslateOperations.class;
-        case "proxyhost":
-        case "proxyHost": return java.lang.String.class;
-        case "proxyport":
-        case "proxyPort": return java.lang.Integer.class;
-        case "proxyprotocol":
-        case "proxyProtocol": return com.amazonaws.Protocol.class;
-        case "region": return java.lang.String.class;
-        case "secretkey":
-        case "secretKey": return java.lang.String.class;
-        case "sourcelanguage":
-        case "sourceLanguage": return java.lang.String.class;
-        case "targetlanguage":
-        case "targetLanguage": return java.lang.String.class;
-        case "translateclient":
-        case "translateClient": return 
com.amazonaws.services.translate.AmazonTranslate.class;
-        default: return null;
-        }
-    }
-
-    @Override
-    public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
-        TranslateComponent target = (TranslateComponent) obj;
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": return 
getOrCreateConfiguration(target).getAccessKey();
-        case "autodiscoverclient":
-        case "autoDiscoverClient": return 
getOrCreateConfiguration(target).isAutoDiscoverClient();
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": return 
getOrCreateConfiguration(target).isAutodetectSourceLanguage();
-        case "autowiredenabled":
-        case "autowiredEnabled": return target.isAutowiredEnabled();
-        case "configuration": return target.getConfiguration();
-        case "lazystartproducer":
-        case "lazyStartProducer": return target.isLazyStartProducer();
-        case "operation": return 
getOrCreateConfiguration(target).getOperation();
-        case "proxyhost":
-        case "proxyHost": return 
getOrCreateConfiguration(target).getProxyHost();
-        case "proxyport":
-        case "proxyPort": return 
getOrCreateConfiguration(target).getProxyPort();
-        case "proxyprotocol":
-        case "proxyProtocol": return 
getOrCreateConfiguration(target).getProxyProtocol();
-        case "region": return getOrCreateConfiguration(target).getRegion();
-        case "secretkey":
-        case "secretKey": return 
getOrCreateConfiguration(target).getSecretKey();
-        case "sourcelanguage":
-        case "sourceLanguage": return 
getOrCreateConfiguration(target).getSourceLanguage();
-        case "targetlanguage":
-        case "targetLanguage": return 
getOrCreateConfiguration(target).getTargetLanguage();
-        case "translateclient":
-        case "translateClient": return 
getOrCreateConfiguration(target).getTranslateClient();
-        default: return null;
-        }
-    }
-}
-
diff --git 
a/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointConfigurer.java
 
b/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointConfigurer.java
deleted file mode 100644
index 3c820ec..0000000
--- 
a/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointConfigurer.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.aws.translate;
-
-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 TranslateEndpointConfigurer extends PropertyConfigurerSupport 
implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
-
-    @Override
-    public boolean configure(CamelContext camelContext, Object obj, String 
name, Object value, boolean ignoreCase) {
-        TranslateEndpoint target = (TranslateEndpoint) obj;
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": 
target.getConfiguration().setAccessKey(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "autodiscoverclient":
-        case "autoDiscoverClient": 
target.getConfiguration().setAutoDiscoverClient(property(camelContext, 
boolean.class, value)); return true;
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": 
target.getConfiguration().setAutodetectSourceLanguage(property(camelContext, 
boolean.class, value)); return true;
-        case "lazystartproducer":
-        case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
-        case "operation": 
target.getConfiguration().setOperation(property(camelContext, 
org.apache.camel.component.aws.translate.TranslateOperations.class, value)); 
return true;
-        case "proxyhost":
-        case "proxyHost": 
target.getConfiguration().setProxyHost(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "proxyport":
-        case "proxyPort": 
target.getConfiguration().setProxyPort(property(camelContext, 
java.lang.Integer.class, value)); return true;
-        case "proxyprotocol":
-        case "proxyProtocol": 
target.getConfiguration().setProxyProtocol(property(camelContext, 
com.amazonaws.Protocol.class, value)); return true;
-        case "region": 
target.getConfiguration().setRegion(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "secretkey":
-        case "secretKey": 
target.getConfiguration().setSecretKey(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "sourcelanguage":
-        case "sourceLanguage": 
target.getConfiguration().setSourceLanguage(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "targetlanguage":
-        case "targetLanguage": 
target.getConfiguration().setTargetLanguage(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "translateclient":
-        case "translateClient": 
target.getConfiguration().setTranslateClient(property(camelContext, 
com.amazonaws.services.translate.AmazonTranslate.class, value)); return true;
-        default: return false;
-        }
-    }
-
-    @Override
-    public Class<?> getOptionType(String name, boolean ignoreCase) {
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": return java.lang.String.class;
-        case "autodiscoverclient":
-        case "autoDiscoverClient": return boolean.class;
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": return boolean.class;
-        case "lazystartproducer":
-        case "lazyStartProducer": return boolean.class;
-        case "operation": return 
org.apache.camel.component.aws.translate.TranslateOperations.class;
-        case "proxyhost":
-        case "proxyHost": return java.lang.String.class;
-        case "proxyport":
-        case "proxyPort": return java.lang.Integer.class;
-        case "proxyprotocol":
-        case "proxyProtocol": return com.amazonaws.Protocol.class;
-        case "region": return java.lang.String.class;
-        case "secretkey":
-        case "secretKey": return java.lang.String.class;
-        case "sourcelanguage":
-        case "sourceLanguage": return java.lang.String.class;
-        case "targetlanguage":
-        case "targetLanguage": return java.lang.String.class;
-        case "translateclient":
-        case "translateClient": return 
com.amazonaws.services.translate.AmazonTranslate.class;
-        default: return null;
-        }
-    }
-
-    @Override
-    public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
-        TranslateEndpoint target = (TranslateEndpoint) obj;
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "accesskey":
-        case "accessKey": return target.getConfiguration().getAccessKey();
-        case "autodiscoverclient":
-        case "autoDiscoverClient": return 
target.getConfiguration().isAutoDiscoverClient();
-        case "autodetectsourcelanguage":
-        case "autodetectSourceLanguage": return 
target.getConfiguration().isAutodetectSourceLanguage();
-        case "lazystartproducer":
-        case "lazyStartProducer": return target.isLazyStartProducer();
-        case "operation": return target.getConfiguration().getOperation();
-        case "proxyhost":
-        case "proxyHost": return target.getConfiguration().getProxyHost();
-        case "proxyport":
-        case "proxyPort": return target.getConfiguration().getProxyPort();
-        case "proxyprotocol":
-        case "proxyProtocol": return 
target.getConfiguration().getProxyProtocol();
-        case "region": return target.getConfiguration().getRegion();
-        case "secretkey":
-        case "secretKey": return target.getConfiguration().getSecretKey();
-        case "sourcelanguage":
-        case "sourceLanguage": return 
target.getConfiguration().getSourceLanguage();
-        case "targetlanguage":
-        case "targetLanguage": return 
target.getConfiguration().getTargetLanguage();
-        case "translateclient":
-        case "translateClient": return 
target.getConfiguration().getTranslateClient();
-        default: return null;
-        }
-    }
-}
-
diff --git 
a/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointUriFactory.java
 
b/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointUriFactory.java
deleted file mode 100644
index e8570fb..0000000
--- 
a/components/camel-aws-translate/src/generated/java/org/apache/camel/component/aws/translate/TranslateEndpointUriFactory.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/* Generated by camel build tools - do NOT edit this file! */
-package org.apache.camel.component.aws.translate;
-
-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 TranslateEndpointUriFactory extends 
org.apache.camel.support.component.EndpointUriFactorySupport implements 
EndpointUriFactory {
-
-    private static final String BASE = ":label";
-
-    private static final Set<String> PROPERTY_NAMES;
-    private static final Set<String> SECRET_PROPERTY_NAMES;
-    static {
-        Set<String> props = new HashSet<>(14);
-        props.add("autodetectSourceLanguage");
-        props.add("autoDiscoverClient");
-        props.add("proxyProtocol");
-        props.add("secretKey");
-        props.add("targetLanguage");
-        props.add("label");
-        props.add("proxyHost");
-        props.add("proxyPort");
-        props.add("lazyStartProducer");
-        props.add("accessKey");
-        props.add("region");
-        props.add("operation");
-        props.add("sourceLanguage");
-        props.add("translateClient");
-        PROPERTY_NAMES = Collections.unmodifiableSet(props);
-        Set<String> secretProps = new HashSet<>(2);
-        secretProps.add("secretKey");
-        secretProps.add("accessKey");
-        SECRET_PROPERTY_NAMES = Collections.unmodifiableSet(secretProps);
-    }
-
-    @Override
-    public boolean isEnabled(String scheme) {
-        return "aws-translate".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, "label", 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 boolean isLenientProperties() {
-        return false;
-    }
-}
-
diff --git 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/component.properties
 
b/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/component.properties
deleted file mode 100644
index b1e081b..0000000
--- 
a/components/camel-aws-translate/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=aws-translate
-groupId=org.apache.camel
-artifactId=camel-aws-translate
-version=3.9.0-SNAPSHOT
-projectName=Camel :: AWS Translate (deprecated)
-projectDescription=A Camel Amazon Translate Web Service Component
diff --git 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/component/aws-translate
 
b/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/component/aws-translate
deleted file mode 100644
index c332366..0000000
--- 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/component/aws-translate
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.translate.TranslateComponent
diff --git 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-component
 
b/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-component
deleted file mode 100644
index 23fb38d..0000000
--- 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-component
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.translate.TranslateComponentConfigurer
diff --git 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-endpoint
 
b/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-endpoint
deleted file mode 100644
index 0030837..0000000
--- 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-translate-endpoint
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.translate.TranslateEndpointConfigurer
diff --git 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/urifactory/aws-translate-endpoint
 
b/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/urifactory/aws-translate-endpoint
deleted file mode 100644
index fcd4fe130c..0000000
--- 
a/components/camel-aws-translate/src/generated/resources/META-INF/services/org/apache/camel/urifactory/aws-translate-endpoint
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.translate.TranslateEndpointUriFactory
diff --git 
a/components/camel-aws-translate/src/generated/resources/org/apache/camel/component/aws/translate/aws-translate.json
 
b/components/camel-aws-translate/src/generated/resources/org/apache/camel/component/aws/translate/aws-translate.json
deleted file mode 100644
index 38c8837..0000000
--- 
a/components/camel-aws-translate/src/generated/resources/org/apache/camel/component/aws/translate/aws-translate.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
-  "component": {
-    "kind": "component",
-    "name": "aws-translate",
-    "title": "AWS Translate",
-    "description": "Translate texts using AWS Translate.",
-    "deprecated": true,
-    "deprecatedSince": "3.8.0",
-    "firstVersion": "3.0.0",
-    "label": "cloud,management",
-    "javaType": "org.apache.camel.component.aws.translate.TranslateComponent",
-    "supportLevel": "Stable",
-    "groupId": "org.apache.camel",
-    "artifactId": "camel-aws-translate",
-    "version": "3.9.0-SNAPSHOT",
-    "scheme": "aws-translate",
-    "extendsScheme": "",
-    "syntax": "aws-translate:label",
-    "async": false,
-    "api": false,
-    "consumerOnly": false,
-    "producerOnly": true,
-    "lenientProperties": false
-  },
-  "componentProperties": {
-    "autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a c [...]
-    "accessKey": { "kind": "property", "displayName": "Access Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
-    "autodetectSourceLanguage": { "kind": "property", "displayName": 
"Autodetect Source Language", "group": "producer", "label": "producer", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Being able to autodetect 
the source language" },
-    "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.aws.translate.TranslateConfiguration", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
component configuration" },
-    "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 [...]
-    "operation": { "kind": "property", "displayName": "Operation", "group": 
"producer", "label": "producer", "required": true, "type": "object", 
"javaType": "org.apache.camel.component.aws.translate.TranslateOperations", 
"enum": [ "translateText" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": "translateText", 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration",  [...]
-    "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Translate client" },
-    "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the Translate client" },
-    "proxyProtocol": { "kind": "property", "displayName": "Proxy Protocol", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "com.amazonaws.Protocol", "enum": [ "HTTP", "HTTPS" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"HTTPS", "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy 
protocol when instantiating the T [...]
-    "region": { "kind": "property", "displayName": "Region", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "The region in which 
Translate client needs to work. When using this parameter, the configuration 
will expect the capitalized n [...]
-    "secretKey": { "kind": "property", "displayName": "Secret Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
-    "sourceLanguage": { "kind": "property", "displayName": "Source Language", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Source language to use" 
},
-    "targetLanguage": { "kind": "property", "displayName": "Target Language", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Target language to use" 
},
-    "translateClient": { "kind": "property", "displayName": "Translate 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "com.amazonaws.services.translate.AmazonTranslate", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To use a existing 
configured AWS Translate as client" },
-    "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": {
-    "label": { "kind": "path", "displayName": "Label", "group": "producer", 
"label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Logical name" },
-    "autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a  [...]
-    "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
-    "autodetectSourceLanguage": { "kind": "parameter", "displayName": 
"Autodetect Source Language", "group": "producer", "label": "producer", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Being able to autodetect 
the source language" },
-    "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 [...]
-    "operation": { "kind": "parameter", "displayName": "Operation", "group": 
"producer", "label": "producer", "required": true, "type": "object", 
"javaType": "org.apache.camel.component.aws.translate.TranslateOperations", 
"enum": [ "translateText" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": "translateText", 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", [...]
-    "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Translate client" },
-    "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the Translate client" },
-    "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "com.amazonaws.Protocol", "enum": [ "HTTP", "HTTPS" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"HTTPS", "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To define a proxy 
protocol when instantiating the  [...]
-    "region": { "kind": "parameter", "displayName": "Region", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "The region in which 
Translate client needs to work. When using this parameter, the configuration 
will expect the capitalized  [...]
-    "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
-    "sourceLanguage": { "kind": "parameter", "displayName": "Source Language", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Source language to use" 
},
-    "targetLanguage": { "kind": "parameter", "displayName": "Target Language", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "Target language to use" 
},
-    "translateClient": { "kind": "parameter", "displayName": "Translate 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "com.amazonaws.services.translate.AmazonTranslate", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.translate.TranslateConfiguration", 
"configurationField": "configuration", "description": "To use a existing 
configured AWS Translate as client" }
-  }
-}
diff --git 
a/components/camel-aws-translate/src/main/docs/aws-translate-component.adoc 
b/components/camel-aws-translate/src/main/docs/aws-translate-component.adoc
deleted file mode 100644
index 0b45630..0000000
--- a/components/camel-aws-translate/src/main/docs/aws-translate-component.adoc
+++ /dev/null
@@ -1,178 +0,0 @@
-[[aws-translate-component]]
-= AWS Translate Component (deprecated)
-:docTitle: AWS Translate
-:artifactId: camel-aws-translate
-:description: Translate texts using AWS Translate.
-:since: 3.0
-:supportLevel: Stable-deprecated
-:deprecated: *deprecated*
-:component-header: Only producer is supported
-include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/aws-translate.adoc[opts=optional]
-//Manually maintained attributes
-:group: AWS
-
-*Since Camel {since}*
-
-*{component-header}*
-
-The Translate component supports translate a text in multiple languages.
-https://aws.amazon.com/translate/[AWS Translate] clusters instances.
-
-Prerequisites
-
-You must have a valid Amazon Web Services developer account, and be
-signed up to use Amazon Translate. More information is available at
-https://aws.amazon.com/translate/[Amazon Translate].
-
-== URI Format
-
-[source,java]
--------------------------
-aws-translate://label[?options]
--------------------------
-
-You can append query options to the URI in the following format,
-?options=value&option2=value&...
-
-== URI Options
-
-
-// component options: START
-The AWS Translate component supports 15 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking. | true | boolean
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *autodetectSourceLanguage* (producer) | Being able to autodetect the source 
language | false | boolean
-| *configuration* (producer) | The component configuration |  | 
TranslateConfiguration
-| *lazyStartProducer* (producer) | 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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 1 
enums and the value can be one of: translateText | translateText | 
TranslateOperations
-| *proxyHost* (producer) | To define a proxy host when instantiating the 
Translate client |  | String
-| *proxyPort* (producer) | To define a proxy port when instantiating the 
Translate client |  | Integer
-| *proxyProtocol* (producer) | To define a proxy protocol when instantiating 
the Translate client. There are 2 enums and the value can be one of: HTTP, 
HTTPS | HTTPS | Protocol
-| *region* (producer) | The region in which Translate client needs to work. 
When using this parameter, the configuration will expect the capitalized name 
of the region (for example AP_EAST_1) You'll need to use the name 
Regions.EU_WEST_1.name() |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *sourceLanguage* (producer) | Source language to use |  | String
-| *targetLanguage* (producer) | Target language to use |  | String
-| *translateClient* (producer) | To use a existing configured AWS Translate as 
client |  | AmazonTranslate
-| *autowiredEnabled* (advanced) | 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. | true | boolean
-|===
-// component options: END
-
-
-
-
-// endpoint options: START
-The AWS Translate endpoint is configured using URI syntax:
-
-----
-aws-translate:label
-----
-
-with the following path and query parameters:
-
-=== Path Parameters (1 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *label* | *Required* Logical name |  | String
-|===
-
-
-=== Query Parameters (13 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking. | true | boolean
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *autodetectSourceLanguage* (producer) | Being able to autodetect the source 
language | false | boolean
-| *lazyStartProducer* (producer) | 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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 1 
enums and the value can be one of: translateText | translateText | 
TranslateOperations
-| *proxyHost* (producer) | To define a proxy host when instantiating the 
Translate client |  | String
-| *proxyPort* (producer) | To define a proxy port when instantiating the 
Translate client |  | Integer
-| *proxyProtocol* (producer) | To define a proxy protocol when instantiating 
the Translate client. There are 2 enums and the value can be one of: HTTP, 
HTTPS | HTTPS | Protocol
-| *region* (producer) | The region in which Translate client needs to work. 
When using this parameter, the configuration will expect the capitalized name 
of the region (for example AP_EAST_1) You'll need to use the name 
Regions.EU_WEST_1.name() |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *sourceLanguage* (producer) | Source language to use |  | String
-| *targetLanguage* (producer) | Target language to use |  | String
-| *translateClient* (producer) | To use a existing configured AWS Translate as 
client |  | AmazonTranslate
-|===
-// endpoint options: END
-
-
-
-
-Required Translate component options
-
-You have to provide the amazonTranslateClient in the
-Registry or your accessKey and secretKey to access
-the https://aws.amazon.com/translate/[Amazon Translate] service.
-
-== Usage
-
-=== Message headers evaluated by the Translate producer
-
-[width="100%",cols="10%,10%,80%",options="header",]
-|=======================================================================
-|Header |Type |Description
-
-|`CamelAwsTranslateSourceLanguage` |`String` |The text source language
-
-|`CamelAwsTranslateTargetLanguage` |`String` |The text target language
-
-|`CamelAwsTranslateTerminologyNames` |`String` |The terminologies to use
-
-|`CamelAwsTranslateOperation` |`String` |The operation to perform
-|=======================================================================
-
-=== Translate Producer operations
-
-Camel-AWS Translate component provides the following operation on the producer 
side:
-
-- translateText
-
-== Automatic detection of AmazonTranslate client in registry
-
-The component is capable of detecting the presence of an AmazonTranslate bean 
into the registry.
-If it's the only instance of that type it will be used as client and you won't 
have to define it as uri parameter.
-This may be really useful for smarter configuration of the endpoint.
-
-== Translate Text example
-
-------------------------------------------------------------------------------------------------------
-from("direct:start")
-  .setHeader(TranslateConstants.SOURCE_LANGUAGE, TranslateLanguageEnum.ITALIAN)
-  .setHeader(TranslateConstants.TARGET_LANGUAGE, TranslateLanguageEnum.GERMAN)
-  .setBody("Ciao")
-  
.to("aws-translate://test?translateClient=#amazonTranslateClient&operation=translateText");
-------------------------------------------------------------------------------------------------------
-
-As result you'll get an exchange containing the translated text.
-
-Dependencies
-
-Maven users will need to add the following dependency to their pom.xml.
-
-*pom.xml*
-
-[source,xml]
----------------------------------------
-<dependency>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>camel-aws-translate</artifactId>
-    <version>${camel-version}</version>
-</dependency>
----------------------------------------
-
-where `$\{camel-version}` must be replaced by the actual version of Camel.
-
-
-include::camel-spring-boot::page$aws-translate-starter.adoc[]
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponent.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponent.java
deleted file mode 100644
index 1f2fccea..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponent.java
+++ /dev/null
@@ -1,82 +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.aws.translate;
-
-import java.util.Map;
-import java.util.Set;
-
-import com.amazonaws.services.translate.AmazonTranslate;
-import org.apache.camel.CamelContext;
-import org.apache.camel.Endpoint;
-import org.apache.camel.spi.Metadata;
-import org.apache.camel.spi.annotations.Component;
-import org.apache.camel.support.DefaultComponent;
-
-/**
- * For working with Amazon Translate.
- */
-@Component("aws-translate")
-public class TranslateComponent extends DefaultComponent {
-
-    @Metadata
-    private TranslateConfiguration configuration = new 
TranslateConfiguration();
-
-    public TranslateComponent() {
-        this(null);
-    }
-
-    public TranslateComponent(CamelContext context) {
-        super(context);
-
-        registerExtension(new TranslateComponentVerifierExtension());
-    }
-
-    @Override
-    protected Endpoint createEndpoint(String uri, String remaining, 
Map<String, Object> parameters) throws Exception {
-        TranslateConfiguration configuration
-                = this.configuration != null ? this.configuration.copy() : new 
TranslateConfiguration();
-
-        TranslateEndpoint endpoint = new TranslateEndpoint(uri, this, 
configuration);
-        setProperties(endpoint, parameters);
-        if (endpoint.getConfiguration().isAutoDiscoverClient()) {
-            checkAndSetRegistryClient(configuration);
-        }
-        if (configuration.getTranslateClient() == null
-                && (configuration.getAccessKey() == null || 
configuration.getSecretKey() == null)) {
-            throw new IllegalArgumentException("Amazon translate client or 
accessKey and secretKey must be specified");
-        }
-        return endpoint;
-    }
-
-    public TranslateConfiguration getConfiguration() {
-        return configuration;
-    }
-
-    /**
-     * The component configuration
-     */
-    public void setConfiguration(TranslateConfiguration configuration) {
-        this.configuration = configuration;
-    }
-
-    private void checkAndSetRegistryClient(TranslateConfiguration 
configuration) {
-        Set<AmazonTranslate> clients = 
getCamelContext().getRegistry().findByType(AmazonTranslate.class);
-        if (clients.size() == 1) {
-            
configuration.setTranslateClient(clients.stream().findFirst().get());
-        }
-    }
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponentVerifierExtension.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponentVerifierExtension.java
deleted file mode 100644
index 8fe79ec..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateComponentVerifierExtension.java
+++ /dev/null
@@ -1,96 +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.aws.translate;
-
-import java.util.Map;
-
-import com.amazonaws.SdkClientException;
-import com.amazonaws.auth.AWSCredentials;
-import com.amazonaws.auth.AWSCredentialsProvider;
-import com.amazonaws.auth.AWSStaticCredentialsProvider;
-import com.amazonaws.auth.BasicAWSCredentials;
-import com.amazonaws.regions.Regions;
-import com.amazonaws.services.translate.AmazonTranslate;
-import com.amazonaws.services.translate.AmazonTranslateClientBuilder;
-import com.amazonaws.services.translate.model.TranslateTextRequest;
-import 
org.apache.camel.component.extension.verifier.DefaultComponentVerifierExtension;
-import org.apache.camel.component.extension.verifier.ResultBuilder;
-import org.apache.camel.component.extension.verifier.ResultErrorBuilder;
-import org.apache.camel.component.extension.verifier.ResultErrorHelper;
-
-public class TranslateComponentVerifierExtension extends 
DefaultComponentVerifierExtension {
-
-    public TranslateComponentVerifierExtension() {
-        this("aws-translate");
-    }
-
-    public TranslateComponentVerifierExtension(String scheme) {
-        super(scheme);
-    }
-
-    // *********************************
-    // Parameters validation
-    // *********************************
-
-    @Override
-    protected Result verifyParameters(Map<String, Object> parameters) {
-
-        ResultBuilder builder = 
ResultBuilder.withStatusAndScope(Result.Status.OK, Scope.PARAMETERS)
-                .error(ResultErrorHelper.requiresOption("accessKey", 
parameters))
-                .error(ResultErrorHelper.requiresOption("secretKey", 
parameters))
-                .error(ResultErrorHelper.requiresOption("region", parameters));
-
-        // Validate using the catalog
-
-        super.verifyParametersAgainstCatalog(builder, parameters);
-
-        return builder.build();
-    }
-
-    // *********************************
-    // Connectivity validation
-    // *********************************
-
-    @Override
-    protected Result verifyConnectivity(Map<String, Object> parameters) {
-        ResultBuilder builder = 
ResultBuilder.withStatusAndScope(Result.Status.OK, Scope.CONNECTIVITY);
-
-        try {
-            TranslateConfiguration configuration = setProperties(new 
TranslateConfiguration(), parameters);
-            AWSCredentials credentials = new 
BasicAWSCredentials(configuration.getAccessKey(), configuration.getSecretKey());
-            AWSCredentialsProvider credentialsProvider = new 
AWSStaticCredentialsProvider(credentials);
-            AmazonTranslate client = 
AmazonTranslateClientBuilder.standard().withCredentials(credentialsProvider)
-                    
.withRegion(Regions.valueOf(configuration.getRegion())).build();
-            TranslateTextRequest req = new TranslateTextRequest();
-            req.setSourceLanguageCode("it");
-            req.setTargetLanguageCode("en");
-            req.setText("ciao");
-            client.translateText(req);
-        } catch (SdkClientException e) {
-            ResultErrorBuilder errorBuilder
-                    = 
ResultErrorBuilder.withCodeAndDescription(VerificationError.StandardCode.AUTHENTICATION,
 e.getMessage())
-                            .detail("aws_translate_exception_message", 
e.getMessage())
-                            
.detail(VerificationError.ExceptionAttribute.EXCEPTION_CLASS, 
e.getClass().getName())
-                            
.detail(VerificationError.ExceptionAttribute.EXCEPTION_INSTANCE, e);
-
-            builder.error(errorBuilder.build());
-        } catch (Exception e) {
-            builder.error(ResultErrorBuilder.withException(e).build());
-        }
-        return builder.build();
-    }
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConfiguration.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConfiguration.java
deleted file mode 100644
index 2780736..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConfiguration.java
+++ /dev/null
@@ -1,204 +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.aws.translate;
-
-import com.amazonaws.Protocol;
-import com.amazonaws.services.translate.AmazonTranslate;
-import org.apache.camel.RuntimeCamelException;
-import org.apache.camel.spi.Metadata;
-import org.apache.camel.spi.UriParam;
-import org.apache.camel.spi.UriParams;
-import org.apache.camel.spi.UriPath;
-
-@UriParams
-public class TranslateConfiguration implements Cloneable {
-
-    @UriPath(description = "Logical name")
-    @Metadata(required = true)
-    private String label;
-    @UriParam(label = "producer")
-    private AmazonTranslate translateClient;
-    @UriParam(label = "producer", secret = true)
-    private String accessKey;
-    @UriParam(label = "producer", secret = true)
-    private String secretKey;
-    @UriParam(label = "producer")
-    @Metadata(required = true, defaultValue = "translateText")
-    private TranslateOperations operation = TranslateOperations.translateText;
-    @UriParam(enums = "HTTP,HTTPS", defaultValue = "HTTPS")
-    private Protocol proxyProtocol = Protocol.HTTPS;
-    @UriParam(label = "producer")
-    private String proxyHost;
-    @UriParam(label = "producer")
-    private String sourceLanguage;
-    @UriParam(label = "producer")
-    private String targetLanguage;
-    @UriParam(label = "producer")
-    private Integer proxyPort;
-    @UriParam
-    private String region;
-    @UriParam(label = "producer", defaultValue = "false")
-    private boolean autodetectSourceLanguage;
-    @UriParam(label = "common", defaultValue = "true")
-    private boolean autoDiscoverClient = true;
-
-    public AmazonTranslate getTranslateClient() {
-        return translateClient;
-    }
-
-    /**
-     * To use a existing configured AWS Translate as client
-     */
-    public void setTranslateClient(AmazonTranslate translateClient) {
-        this.translateClient = translateClient;
-    }
-
-    public String getAccessKey() {
-        return accessKey;
-    }
-
-    /**
-     * Amazon AWS Access Key
-     */
-    public void setAccessKey(String accessKey) {
-        this.accessKey = accessKey;
-    }
-
-    public String getSecretKey() {
-        return secretKey;
-    }
-
-    /**
-     * Amazon AWS Secret Key
-     */
-    public void setSecretKey(String secretKey) {
-        this.secretKey = secretKey;
-    }
-
-    public TranslateOperations getOperation() {
-        return operation;
-    }
-
-    /**
-     * The operation to perform
-     */
-    public void setOperation(TranslateOperations operation) {
-        this.operation = operation;
-    }
-
-    public Protocol getProxyProtocol() {
-        return proxyProtocol;
-    }
-
-    /**
-     * To define a proxy protocol when instantiating the Translate client
-     */
-    public void setProxyProtocol(Protocol proxyProtocol) {
-        this.proxyProtocol = proxyProtocol;
-    }
-
-    public String getProxyHost() {
-        return proxyHost;
-    }
-
-    /**
-     * To define a proxy host when instantiating the Translate client
-     */
-    public void setProxyHost(String proxyHost) {
-        this.proxyHost = proxyHost;
-    }
-
-    public Integer getProxyPort() {
-        return proxyPort;
-    }
-
-    /**
-     * To define a proxy port when instantiating the Translate client
-     */
-    public void setProxyPort(Integer proxyPort) {
-        this.proxyPort = proxyPort;
-    }
-
-    public String getRegion() {
-        return region;
-    }
-
-    /**
-     * The region in which Translate client needs to work. When using this 
parameter, the configuration will expect the
-     * capitalized name of the region (for example AP_EAST_1) You'll need to 
use the name Regions.EU_WEST_1.name()
-     */
-    public void setRegion(String region) {
-        this.region = region;
-    }
-
-    public boolean isAutodetectSourceLanguage() {
-        return autodetectSourceLanguage;
-    }
-
-    /**
-     * Being able to autodetect the source language
-     */
-    public void setAutodetectSourceLanguage(boolean autodetectSourceLanguage) {
-        this.autodetectSourceLanguage = autodetectSourceLanguage;
-    }
-
-    public String getSourceLanguage() {
-        return sourceLanguage;
-    }
-
-    /**
-     * Source language to use
-     */
-    public void setSourceLanguage(String sourceLanguage) {
-        this.sourceLanguage = sourceLanguage;
-    }
-
-    public String getTargetLanguage() {
-        return targetLanguage;
-    }
-
-    /**
-     * Target language to use
-     */
-    public void setTargetLanguage(String targetLanguage) {
-        this.targetLanguage = targetLanguage;
-    }
-
-    public boolean isAutoDiscoverClient() {
-        return autoDiscoverClient;
-    }
-
-    /**
-     * Setting the autoDiscoverClient mechanism, if true, the component will 
look for a client instance in the registry
-     * automatically otherwise it will skip that checking.
-     */
-    public void setAutoDiscoverClient(boolean autoDiscoverClient) {
-        this.autoDiscoverClient = autoDiscoverClient;
-    }
-
-    // *************************************************
-    //
-    // *************************************************
-
-    public TranslateConfiguration copy() {
-        try {
-            return (TranslateConfiguration) super.clone();
-        } catch (CloneNotSupportedException e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConstants.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConstants.java
deleted file mode 100644
index 5ee3808..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateConstants.java
+++ /dev/null
@@ -1,27 +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.aws.translate;
-
-/**
- * Constants used in Camel AWS Translate module
- */
-public interface TranslateConstants {
-    String SOURCE_LANGUAGE = "CamelAwsTranslateSourceLanguage";
-    String TARGET_LANGUAGE = "CamelAwsTranslateTargetLanguage";
-    String TERMINOLOGY_NAMES = "CamelAwsTranslateTerminologyNames";
-    String OPERATION = "CamelAwsTranslateOperation";
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateEndpoint.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateEndpoint.java
deleted file mode 100644
index b4d6143..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateEndpoint.java
+++ /dev/null
@@ -1,124 +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.aws.translate;
-
-import com.amazonaws.ClientConfiguration;
-import com.amazonaws.auth.AWSCredentials;
-import com.amazonaws.auth.AWSCredentialsProvider;
-import com.amazonaws.auth.AWSStaticCredentialsProvider;
-import com.amazonaws.auth.BasicAWSCredentials;
-import com.amazonaws.regions.Regions;
-import com.amazonaws.services.translate.AmazonTranslate;
-import com.amazonaws.services.translate.AmazonTranslateClientBuilder;
-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.UriEndpoint;
-import org.apache.camel.spi.UriParam;
-import org.apache.camel.support.ScheduledPollEndpoint;
-import org.apache.camel.util.ObjectHelper;
-
-/**
- * Translate texts using AWS Translate.
- */
-@UriEndpoint(firstVersion = "3.0.0", scheme = "aws-translate", title = "AWS 
Translate", syntax = "aws-translate:label",
-             producerOnly = true, category = { Category.CLOUD, 
Category.MANAGEMENT })
-public class TranslateEndpoint extends ScheduledPollEndpoint {
-
-    private AmazonTranslate translateClient;
-
-    @UriParam
-    private TranslateConfiguration configuration;
-
-    public TranslateEndpoint(String uri, Component component, 
TranslateConfiguration configuration) {
-        super(uri, component);
-        this.configuration = configuration;
-    }
-
-    @Override
-    public Consumer createConsumer(Processor processor) throws Exception {
-        throw new UnsupportedOperationException("You cannot receive messages 
from this endpoint");
-    }
-
-    @Override
-    public Producer createProducer() throws Exception {
-        return new TranslateProducer(this);
-    }
-
-    @Override
-    public void doStart() throws Exception {
-        super.doStart();
-
-        translateClient
-                = configuration.getTranslateClient() != null ? 
configuration.getTranslateClient() : createTranslateClient();
-    }
-
-    @Override
-    public void doStop() throws Exception {
-        if (ObjectHelper.isEmpty(configuration.getTranslateClient())) {
-            if (translateClient != null) {
-                translateClient.shutdown();
-            }
-        }
-        super.doStop();
-    }
-
-    public TranslateConfiguration getConfiguration() {
-        return configuration;
-    }
-
-    public AmazonTranslate getTranslateClient() {
-        return translateClient;
-    }
-
-    AmazonTranslate createTranslateClient() {
-        AmazonTranslate client = null;
-        ClientConfiguration clientConfiguration = null;
-        AmazonTranslateClientBuilder clientBuilder = null;
-        boolean isClientConfigFound = false;
-        if (ObjectHelper.isNotEmpty(configuration.getProxyHost()) && 
ObjectHelper.isNotEmpty(configuration.getProxyPort())) {
-            clientConfiguration = new ClientConfiguration();
-            
clientConfiguration.setProxyProtocol(configuration.getProxyProtocol());
-            clientConfiguration.setProxyHost(configuration.getProxyHost());
-            clientConfiguration.setProxyPort(configuration.getProxyPort());
-            isClientConfigFound = true;
-        }
-        if (configuration.getAccessKey() != null && 
configuration.getSecretKey() != null) {
-            AWSCredentials credentials = new 
BasicAWSCredentials(configuration.getAccessKey(), configuration.getSecretKey());
-            AWSCredentialsProvider credentialsProvider = new 
AWSStaticCredentialsProvider(credentials);
-            if (isClientConfigFound) {
-                clientBuilder = 
AmazonTranslateClientBuilder.standard().withClientConfiguration(clientConfiguration)
-                        .withCredentials(credentialsProvider);
-            } else {
-                clientBuilder = 
AmazonTranslateClientBuilder.standard().withCredentials(credentialsProvider);
-            }
-        } else {
-            if (isClientConfigFound) {
-                clientBuilder = AmazonTranslateClientBuilder.standard();
-            } else {
-                clientBuilder = 
AmazonTranslateClientBuilder.standard().withClientConfiguration(clientConfiguration);
-            }
-        }
-        if (ObjectHelper.isNotEmpty(configuration.getRegion())) {
-            clientBuilder = 
clientBuilder.withRegion(Regions.valueOf(configuration.getRegion()));
-        }
-        client = clientBuilder.build();
-        return client;
-    }
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateLanguageEnum.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateLanguageEnum.java
deleted file mode 100644
index aca46a2..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateLanguageEnum.java
+++ /dev/null
@@ -1,60 +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.aws.translate;
-
-public enum TranslateLanguageEnum {
-
-    ARABIC("ar"),
-    CHINESE_SIMPLIFIED("zh"),
-    CHINESE_TRADITIONAL("zh-TW"),
-    CZECH("cs"),
-    DANISH("da"),
-    DUTCH("nl"),
-    ENGLISH("en"),
-    FINNISH("fi"),
-    FRENCH("fr"),
-    GERMAN("de"),
-    HEBREW(
-           "he"),
-    HINDI("hi"),
-    INDONESIAN("id"),
-    ITALIAN("it"),
-    JAPANESE(
-             "ja"),
-    KOREAN("ko"),
-    MALAY("ms"),
-    NORWEGIAN("no"),
-    PERSIAN("fa"),
-    POLISH("pl"),
-    PORTUGUESE("pt"),
-    RUSSIAN("ru"),
-    SPANISH("es"),
-    SWEDISH("sv"),
-    TURKISH("tr");
-
-    private final String language;
-
-    TranslateLanguageEnum(final String language) {
-        this.language = language;
-    }
-
-    @Override
-    public String toString() {
-        return language;
-    }
-
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateOperations.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateOperations.java
deleted file mode 100644
index 159e2c5..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateOperations.java
+++ /dev/null
@@ -1,22 +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.aws.translate;
-
-public enum TranslateOperations {
-
-    translateText
-}
diff --git 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateProducer.java
 
b/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateProducer.java
deleted file mode 100644
index e800a84..0000000
--- 
a/components/camel-aws-translate/src/main/java/org/apache/camel/component/aws/translate/TranslateProducer.java
+++ /dev/null
@@ -1,136 +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.aws.translate;
-
-import java.util.Collection;
-
-import com.amazonaws.AmazonServiceException;
-import com.amazonaws.services.translate.AmazonTranslate;
-import com.amazonaws.services.translate.model.TranslateTextRequest;
-import com.amazonaws.services.translate.model.TranslateTextResult;
-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.util.ObjectHelper;
-import org.apache.camel.util.URISupport;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * A Producer which sends messages to the Amazon Translate Service <a 
href="http://aws.amazon.com/translate/";>AWS
- * Translate</a>
- */
-public class TranslateProducer extends DefaultProducer {
-
-    private static final Logger LOG = 
LoggerFactory.getLogger(TranslateProducer.class);
-
-    private transient String translateProducerToString;
-
-    public TranslateProducer(Endpoint endpoint) {
-        super(endpoint);
-    }
-
-    @Override
-    public void process(Exchange exchange) throws Exception {
-        switch (determineOperation(exchange)) {
-            case translateText:
-                translateText(getEndpoint().getTranslateClient(), exchange);
-                break;
-            default:
-                throw new IllegalArgumentException("Unsupported operation");
-        }
-    }
-
-    private TranslateOperations determineOperation(Exchange exchange) {
-        TranslateOperations operation = 
exchange.getIn().getHeader(TranslateConstants.OPERATION, 
TranslateOperations.class);
-        if (operation == null) {
-            operation = getConfiguration().getOperation();
-        }
-        return operation;
-    }
-
-    protected TranslateConfiguration getConfiguration() {
-        return getEndpoint().getConfiguration();
-    }
-
-    @Override
-    public String toString() {
-        if (translateProducerToString == null) {
-            translateProducerToString = "TranslateProducer[" + 
URISupport.sanitizeUri(getEndpoint().getEndpointUri()) + "]";
-        }
-        return translateProducerToString;
-    }
-
-    @Override
-    public TranslateEndpoint getEndpoint() {
-        return (TranslateEndpoint) super.getEndpoint();
-    }
-
-    private void translateText(AmazonTranslate translateClient, Exchange 
exchange) {
-        TranslateTextRequest request = new TranslateTextRequest();
-        if (!getConfiguration().isAutodetectSourceLanguage()) {
-            if (ObjectHelper.isEmpty(getConfiguration().getSourceLanguage())
-                    && 
ObjectHelper.isEmpty(getConfiguration().getTargetLanguage())) {
-                String source = 
exchange.getIn().getHeader(TranslateConstants.SOURCE_LANGUAGE, String.class);
-                String target = 
exchange.getIn().getHeader(TranslateConstants.TARGET_LANGUAGE, String.class);
-                if (ObjectHelper.isEmpty(source) || 
ObjectHelper.isEmpty(target)) {
-                    throw new IllegalArgumentException(
-                            "Source and target language must be specified as 
headers or endpoint options");
-                }
-                request.setSourceLanguageCode(source);
-                request.setTargetLanguageCode(target);
-            } else {
-                
request.setSourceLanguageCode(getConfiguration().getSourceLanguage());
-                
request.setTargetLanguageCode(getConfiguration().getTargetLanguage());
-            }
-        } else {
-            String source = "auto";
-            if (ObjectHelper.isEmpty(getConfiguration().getTargetLanguage())) {
-                String target = 
exchange.getIn().getHeader(TranslateConstants.TARGET_LANGUAGE, String.class);
-                if (ObjectHelper.isEmpty(source) || 
ObjectHelper.isEmpty(target)) {
-                    throw new IllegalArgumentException(
-                            "Target language must be specified when 
autodetection of source language is enabled");
-                }
-                request.setSourceLanguageCode(source);
-                request.setTargetLanguageCode(target);
-            } else {
-                request.setSourceLanguageCode(source);
-                
request.setTargetLanguageCode(getConfiguration().getTargetLanguage());
-            }
-        }
-        if 
(!ObjectHelper.isEmpty(exchange.getIn().getHeader(TranslateConstants.TERMINOLOGY_NAMES,
 Collection.class))) {
-            Collection<String> terminologies
-                    = 
exchange.getIn().getHeader(TranslateConstants.TERMINOLOGY_NAMES, 
Collection.class);
-            request.setTerminologyNames(terminologies);
-        }
-        request.setText(exchange.getMessage().getBody(String.class));
-        TranslateTextResult result;
-        try {
-            result = translateClient.translateText(request);
-        } catch (AmazonServiceException ase) {
-            LOG.trace("Translate Text command returned the error code {}", 
ase.getErrorCode());
-            throw ase;
-        }
-        Message message = getMessageForResponse(exchange);
-        message.setBody(result.getTranslatedText());
-    }
-
-    public static Message getMessageForResponse(final Exchange exchange) {
-        return exchange.getMessage();
-    }
-}
diff --git 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/AmazonAWSTranslateMock.java
 
b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/AmazonAWSTranslateMock.java
deleted file mode 100644
index 50bd5a7..0000000
--- 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/AmazonAWSTranslateMock.java
+++ /dev/null
@@ -1,31 +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.aws.translate;
-
-import com.amazonaws.services.translate.AbstractAmazonTranslate;
-import com.amazonaws.services.translate.model.TranslateTextRequest;
-import com.amazonaws.services.translate.model.TranslateTextResult;
-
-public class AmazonAWSTranslateMock extends AbstractAmazonTranslate {
-
-    @Override
-    public TranslateTextResult translateText(TranslateTextRequest request) {
-        TranslateTextResult result = new TranslateTextResult();
-        result.setTranslatedText("Hello");
-        return result;
-    }
-}
diff --git 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerSpringTest.java
 
b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerSpringTest.java
deleted file mode 100644
index 64a8813..0000000
--- 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerSpringTest.java
+++ /dev/null
@@ -1,60 +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.aws.translate;
-
-import org.apache.camel.EndpointInject;
-import org.apache.camel.Exchange;
-import org.apache.camel.Processor;
-import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
-import org.junit.jupiter.api.Test;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-public class TranslateProducerSpringTest extends CamelSpringTestSupport {
-
-    @EndpointInject("mock:result")
-    private MockEndpoint mock;
-
-    @Test
-    public void translateTextTest() throws Exception {
-
-        mock.expectedMessageCount(1);
-        Exchange exchange = template.request("direct:translateText", new 
Processor() {
-            @Override
-            public void process(Exchange exchange) throws Exception {
-                exchange.getIn().setHeader(TranslateConstants.OPERATION, 
TranslateOperations.translateText);
-                exchange.getIn().setHeader(TranslateConstants.SOURCE_LANGUAGE, 
TranslateLanguageEnum.ITALIAN);
-                exchange.getIn().setHeader(TranslateConstants.TARGET_LANGUAGE, 
TranslateLanguageEnum.ENGLISH);
-                exchange.getIn().setBody("ciao");
-            }
-        });
-
-        assertMockEndpointsSatisfied();
-
-        String resultGet = exchange.getIn().getBody(String.class);
-        assertEquals("Hello", resultGet);
-
-    }
-
-    @Override
-    protected ClassPathXmlApplicationContext createApplicationContext() {
-        return new ClassPathXmlApplicationContext(
-                
"org/apache/camel/component/aws/translate/TranslateComponentSpringTest-context.xml");
-    }
-}
diff --git 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java
 
b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java
deleted file mode 100644
index 1b18909..0000000
--- 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java
+++ /dev/null
@@ -1,90 +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.aws.translate;
-
-import org.apache.camel.BindToRegistry;
-import org.apache.camel.EndpointInject;
-import org.apache.camel.Exchange;
-import org.apache.camel.Processor;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.test.junit5.CamelTestSupport;
-import org.junit.jupiter.api.Test;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-public class TranslateProducerTest extends CamelTestSupport {
-
-    @BindToRegistry("amazonTranslateClient")
-    AmazonAWSTranslateMock clientMock = new AmazonAWSTranslateMock();
-
-    @EndpointInject("mock:result")
-    private MockEndpoint mock;
-
-    @Test
-    public void translateTextTest() throws Exception {
-
-        mock.expectedMessageCount(1);
-        Exchange exchange = template.request("direct:translateText", new 
Processor() {
-            @Override
-            public void process(Exchange exchange) throws Exception {
-                exchange.getIn().setHeader(TranslateConstants.SOURCE_LANGUAGE, 
TranslateLanguageEnum.ITALIAN);
-                exchange.getIn().setHeader(TranslateConstants.TARGET_LANGUAGE, 
TranslateLanguageEnum.ENGLISH);
-                exchange.getIn().setBody("ciao");
-            }
-        });
-
-        assertMockEndpointsSatisfied();
-
-        String resultGet = exchange.getIn().getBody(String.class);
-        assertEquals("Hello", resultGet);
-
-    }
-
-    @Test
-    public void translateTextTestOptions() throws Exception {
-
-        mock.expectedMessageCount(1);
-        Exchange exchange = template.request("direct:translateTextOptions", 
new Processor() {
-            @Override
-            public void process(Exchange exchange) throws Exception {
-                exchange.getIn().setBody("ciao");
-            }
-        });
-
-        assertMockEndpointsSatisfied();
-
-        String resultGet = exchange.getIn().getBody(String.class);
-        assertEquals("Hello", resultGet);
-
-    }
-
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-                from("direct:translateText")
-                        
.to("aws-translate://test?translateClient=#amazonTranslateClient&operation=translateText")
-                        .to("mock:result");
-                from("direct:translateTextOptions").to(
-                        
"aws-translate://test?translateClient=#amazonTranslateClient&operation=translateText&sourceLanguage=it&targetLanguage=en")
-                        .to("mock:result");
-            }
-        };
-    }
-}
diff --git 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/integration/TranslateProducerIntegrationTest.java
 
b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/integration/TranslateProducerIntegrationTest.java
deleted file mode 100644
index cc509d0..0000000
--- 
a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/integration/TranslateProducerIntegrationTest.java
+++ /dev/null
@@ -1,92 +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.aws.translate.integration;
-
-import org.apache.camel.EndpointInject;
-import org.apache.camel.Exchange;
-import org.apache.camel.Processor;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.aws.translate.TranslateConstants;
-import org.apache.camel.component.aws.translate.TranslateLanguageEnum;
-import org.apache.camel.component.aws.translate.TranslateOperations;
-import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.test.junit5.CamelTestSupport;
-import org.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-@Disabled("This test must be manually started, you need to specify AWS 
Credentials")
-public class TranslateProducerIntegrationTest extends CamelTestSupport {
-
-    @EndpointInject("mock:result")
-    private MockEndpoint mock;
-
-    @Test
-    public void translateTextTest() throws Exception {
-
-        mock.expectedMessageCount(1);
-        Exchange exchange = template.request("direct:translateText", new 
Processor() {
-            @Override
-            public void process(Exchange exchange) throws Exception {
-                exchange.getIn().setHeader(TranslateConstants.OPERATION, 
TranslateOperations.translateText);
-                exchange.getIn().setHeader(TranslateConstants.SOURCE_LANGUAGE, 
TranslateLanguageEnum.ITALIAN);
-                exchange.getIn().setHeader(TranslateConstants.TARGET_LANGUAGE, 
TranslateLanguageEnum.GERMAN);
-                exchange.getIn().setBody("Ciao Signorina");
-            }
-        });
-
-        assertMockEndpointsSatisfied();
-
-        String resultGet = (String) exchange.getIn().getBody();
-        assertEquals("Hallo, Miss.", resultGet);
-    }
-
-    @Test
-    public void translateTextAutodetectSourceTest() throws Exception {
-
-        mock.expectedMessageCount(1);
-        Exchange exchange = template.request("direct:translateTextAuto", new 
Processor() {
-            @Override
-            public void process(Exchange exchange) throws Exception {
-                exchange.getIn().setHeader(TranslateConstants.OPERATION, 
TranslateOperations.translateText);
-                exchange.getIn().setHeader(TranslateConstants.TARGET_LANGUAGE, 
TranslateLanguageEnum.GERMAN);
-                exchange.getIn().setBody("Ciao Signorina");
-            }
-        });
-
-        assertMockEndpointsSatisfied();
-
-        String resultGet = (String) exchange.getIn().getBody();
-        assertEquals("Hallo, Miss.", resultGet);
-    }
-
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-                from("direct:translateText").to(
-                        
"aws-translate://test?accessKey=RAW(xxxx)&secretKey=RAW(xxxx)&region=EU_WEST_1&operation=translateText")
-                        .to("mock:result");
-                from("direct:translateTextAuto")
-                        
.to("aws-translate://test?accessKey=RAW(xxxx)&secretKey=RAW(xxxx)&region=EU_WEST_1&operation=translateText&autodetectSourceLanguage=true")
-                        .to("mock:result");
-            }
-        };
-    }
-}
diff --git 
a/components/camel-aws-translate/src/test/resources/log4j2.properties 
b/components/camel-aws-translate/src/test/resources/log4j2.properties
deleted file mode 100644
index 7bbf7e6..0000000
--- a/components/camel-aws-translate/src/test/resources/log4j2.properties
+++ /dev/null
@@ -1,28 +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-aws-translate-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 = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-rootLogger.level = INFO
-rootLogger.appenderRef.file.ref = file
diff --git 
a/components/camel-aws-translate/src/test/resources/org/apache/camel/component/aws/translate/TranslateComponentSpringTest-context.xml
 
b/components/camel-aws-translate/src/test/resources/org/apache/camel/component/aws/translate/TranslateComponentSpringTest-context.xml
deleted file mode 100644
index 67c592a..0000000
--- 
a/components/camel-aws-translate/src/test/resources/org/apache/camel/component/aws/translate/TranslateComponentSpringTest-context.xml
+++ /dev/null
@@ -1,35 +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 id="camel" xmlns="http://camel.apache.org/schema/spring";>
-        <route>
-            <from uri="direct:translateText"/>
-            <to 
uri="aws-translate://test?translateClient=#amazonTranslateClient&amp;operation=translateText"/>
-            <to uri="mock:result"/>
-        </route>
-    </camelContext>
-
-    <bean id="amazonTranslateClient" 
class="org.apache.camel.component.aws.translate.AmazonAWSTranslateMock"/>
-</beans>
\ No newline at end of file
diff --git a/components/pom.xml b/components/pom.xml
index fffdd40..3f2e10e 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -123,7 +123,6 @@
         <module>camel-aws-sns</module>
         <module>camel-aws-sqs</module>
         <module>camel-aws-swf</module>
-        <module>camel-aws-translate</module>
         <module>camel-aws2-athena</module>
         <module>camel-aws2-cw</module>
         <module>camel-aws2-ddb</module>

Reply via email to