You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/02/28 13:51:10 UTC

[camel] branch master updated (54f85ad -> 2af9669)

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

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


    from 54f85ad  CAMEL-13243: Spring Main supports Spring IoC for route builder classes.
     new 80c4100  CAMEL-13165 - Camel-AWS: Create an AWS MSK component
     new b448cd7  CAMEL-13165 - Add Spring-boot starter bits
     new b94b284  CAMEL-13165 - Fixed CS
     new 4925b58  CAMEL-13165 - Added camel-aws-msk to kit
     new e248438  CAMEL-13165 - Regen docs
     new 4c9957d  CAMEL-13165 - Regen
     new fc41b4d  CAMEL-13165 - Docs updated
     new 0204b93  CAMEL-13165 - Brings in docs for SB too
     new 92dbbb9  CAMEL-13165 - Added Karaf feature
     new c490eeb  CAMEL-13165 - Added karaf feature ITest
     new 2af9669  CAMEL-13165 - Added Spring Boot ITest

The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 apache-camel/pom.xml                               |  10 ++
 apache-camel/src/main/descriptors/common-bin.xml   |   2 +
 bom/camel-bom/pom.xml                              |  10 ++
 components/camel-aws-msk/pom.xml                   |  81 +++++++++
 .../src/main/docs/aws-msk-component.adoc           | 186 ++++++++++++++++++++
 .../camel/component/aws/msk/MSKComponent.java      | 121 +++++++++++++
 .../aws/msk/MSKComponentVerifierExtension.java     |  89 ++++++++++
 .../camel/component/aws/msk/MSKConfiguration.java  | 137 +++++++++++++++
 .../camel/component/aws/msk/MSKConstants.java      |  30 ++++
 .../camel/component/aws/msk/MSKEndpoint.java       | 121 +++++++++++++
 .../camel/component/aws/msk/MSKOperations.java     |  24 +++
 .../camel/component/aws/msk/MSKProducer.java       | 170 ++++++++++++++++++
 .../component/aws/msk/AmazonMSKClientMock.java     |  64 +++++++
 .../aws/msk/MSKComponentConfigurationTest.java     |  50 ++++++
 .../aws/msk/MSKComponentVerifierExtensionTest.java |  73 ++++++++
 .../component/aws/msk/MSKProducerSpringTest.java   | 102 +++++++++++
 .../camel/component/aws/msk/MSKProducerTest.java   | 121 +++++++++++++
 .../src/test/resources/log4j2.properties           |   0
 .../aws/msk/MSKComponentSpringTest-context.xml     |  47 +++++
 .../src/main/docs/properties-component.adoc        |   5 +-
 components/pom.xml                                 |   1 +
 components/readme.adoc                             |   5 +-
 docs/components/modules/ROOT/nav.adoc              |   1 +
 .../modules/ROOT/pages/aws-msk-component.adoc      | 186 ++++++++++++++++++++
 .../modules/ROOT/pages/properties-component.adoc   |  27 ++-
 parent/pom.xml                                     |  10 ++
 .../karaf/features/src/main/resources/features.xml |  16 ++
 .../camel-aws-msk-starter/pom.xml                  |  61 +++++++
 .../springboot/MSKComponentAutoConfiguration.java  | 128 ++++++++++++++
 .../msk/springboot/MSKComponentConfiguration.java  | 193 +++++++++++++++++++++
 .../src/main/resources/META-INF/LICENSE.txt        |   0
 .../src/main/resources/META-INF/NOTICE.txt         |   0
 .../src/main/resources/META-INF/spring.factories   |  19 ++
 .../src/main/resources/META-INF/spring.provides    |  17 ++
 platforms/spring-boot/components-starter/pom.xml   |   1 +
 .../camel-spring-boot-dependencies/pom.xml         |  10 ++
 .../{CamelAwsTest.java => CamelAwsMskTest.java}    |  23 +--
 .../org/apache/camel/itest/karaf/CamelAwsTest.java |   1 +
 .../camel/itest/springboot/CamelAwsMskTest.java    |  48 +++++
 39 files changed, 2162 insertions(+), 28 deletions(-)
 create mode 100644 components/camel-aws-msk/pom.xml
 create mode 100644 components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponent.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtension.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConstants.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKEndpoint.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKOperations.java
 create mode 100644 components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
 create mode 100644 components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
 create mode 100644 components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
 create mode 100644 components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
 create mode 100644 components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
 create mode 100644 components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
 copy components/{camel-aws-kms => camel-aws-msk}/src/test/resources/log4j2.properties (100%)
 create mode 100644 components/camel-aws-msk/src/test/resources/org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml
 create mode 100644 docs/components/modules/ROOT/pages/aws-msk-component.adoc
 create mode 100644 platforms/spring-boot/components-starter/camel-aws-msk-starter/pom.xml
 create mode 100644 platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentAutoConfiguration.java
 create mode 100644 platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentConfiguration.java
 copy {tooling/maven/camel-package-maven-plugin => platforms/spring-boot/components-starter/camel-aws-msk-starter}/src/main/resources/META-INF/LICENSE.txt (100%)
 copy {tooling/maven/camel-package-maven-plugin => platforms/spring-boot/components-starter/camel-aws-msk-starter}/src/main/resources/META-INF/NOTICE.txt (100%)
 create mode 100644 platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.factories
 create mode 100644 platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.provides
 copy tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/{CamelAwsTest.java => CamelAwsMskTest.java} (51%)
 create mode 100644 tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAwsMskTest.java


[camel] 06/11: CAMEL-13165 - Regen

Posted by ac...@apache.org.
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 4c9957dd7067bdb43f850907bd527408027570ff
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:02:24 2019 +0100

    CAMEL-13165 - Regen
---
 apache-camel/pom.xml                               |  8 +++----
 .../src/main/docs/properties-component.adoc        |  5 ++--
 components/readme.adoc                             |  5 +++-
 .../modules/ROOT/pages/properties-component.adoc   | 27 ++++++++++++++++++----
 4 files changed, 33 insertions(+), 12 deletions(-)

diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index 282838d..1070cac 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -195,12 +195,12 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-aws-msk</artifactId>
+      <artifactId>camel-aws-mq</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-aws-mq</artifactId>
+      <artifactId>camel-aws-msk</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
@@ -1679,12 +1679,12 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-aws-msk-starter</artifactId>
+      <artifactId>camel-aws-mq-starter</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-aws-mq-starter</artifactId>
+      <artifactId>camel-aws-msk-starter</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
diff --git a/components/camel-properties/src/main/docs/properties-component.adoc b/components/camel-properties/src/main/docs/properties-component.adoc
index cee28d9..2ec426e 100644
--- a/components/camel-properties/src/main/docs/properties-component.adoc
+++ b/components/camel-properties/src/main/docs/properties-component.adoc
@@ -94,7 +94,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s
 ----
 
 
-The component supports 18 options, which are listed below.
+The component supports 19 options, which are listed below.
 
 
 
@@ -105,6 +105,7 @@ The component supports 18 options, which are listed below.
 | *camel.component.properties.default-fallback-enabled* | If false, the component does not attempt to find a default for the key by looking after the colon separator. | true | Boolean
 | *camel.component.properties.enabled* | Whether to enable auto configuration of the properties component. This is enabled by default. |  | Boolean
 | *camel.component.properties.encoding* | Encoding to use when loading properties file from the file system or classpath. If no encoding has been set, then the properties files is loaded using ISO-8859-1 encoding (latin-1) as documented by java.util.Properties#load(java.io.InputStream) |  | String
+| *camel.component.properties.environment-variable-mode* | Sets the OS environment variables mode. The default mode (fallback) is to check OS environment variables, if the property cannot be resolved from its sources first. This allows environment variables as fallback values. | 1 | Integer
 | *camel.component.properties.fallback-to-unaugmented-property* | If true, first attempt resolution of property name augmented with propertyPrefix and propertySuffix before falling back the plain property name specified. If false, only the augmented property name is searched. | true | Boolean
 | *camel.component.properties.ignore-missing-location* | Whether to silently ignore if a location cannot be located, such as a properties file not found. | false | Boolean
 | *camel.component.properties.initial-properties* | Sets initial properties which will be used before any locations are resolved. The option is a java.util.Properties type. |  | String
@@ -118,7 +119,7 @@ The component supports 18 options, which are listed below.
 | *camel.component.properties.property-suffix* | Optional suffix appended to property names before resolution. |  | String
 | *camel.component.properties.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
 | *camel.component.properties.suffix-token* | Sets the value of the suffix token used to identify properties to replace. Setting a value of null restores the default token (link DEFAULT_SUFFIX_TOKEN). | }} | String
-| *camel.component.properties.system-properties-mode* | Sets the system property mode. | 2 | Integer
+| *camel.component.properties.system-properties-mode* | Sets the system property (and environment variable) mode. The default mode (override) is to check system properties (and environment variables) first, before trying the specified properties. This allows system properties/environment variables to override any other property source. | 2 | Integer
 |===
 // spring-boot-auto-configure options: END
 
diff --git a/components/readme.adoc b/components/readme.adoc
index 86d355d..20a558c 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -1,7 +1,7 @@
 ==== Components
 
 // components: START
-Number of Components: 291 in 226 JAR artifacts (0 deprecated)
+Number of Components: 292 in 227 JAR artifacts (0 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -100,6 +100,9 @@ Number of Components: 291 in 226 JAR artifacts (0 deprecated)
 | link:camel-aws-mq/src/main/docs/aws-mq-component.adoc[AWS MQ] (camel-aws-mq) +
 `aws-mq:label` | 2.21 | The aws-mq is used for managing Amazon MQ instances.
 
+| link:camel-aws-msk/src/main/docs/aws-msk-component.adoc[AWS MSK] (camel-aws-msk) +
+`aws-msk:label` | 3.0 | The aws-kms is used for managing Amazon KMS
+
 | link:camel-aws-s3/src/main/docs/aws-s3-component.adoc[AWS S3 Storage Service] (camel-aws-s3) +
 `aws-s3:bucketNameOrArn` | 2.8 | The aws-s3 component is used for storing and retrieving objecct from Amazon S3 Storage Service.
 
diff --git a/docs/components/modules/ROOT/pages/properties-component.adoc b/docs/components/modules/ROOT/pages/properties-component.adoc
index 497b63e..2ec426e 100644
--- a/docs/components/modules/ROOT/pages/properties-component.adoc
+++ b/docs/components/modules/ROOT/pages/properties-component.adoc
@@ -15,7 +15,7 @@ Where *key* is the key for the property to lookup
 === Options
 
 // component options: START
-The Properties component supports 17 options, which are listed below.
+The Properties component supports 18 options, which are listed below.
 
 
 
@@ -37,7 +37,8 @@ The Properties component supports 17 options, which are listed below.
 | *suffixToken* (advanced) | Sets the value of the suffix token used to identify properties to replace. Setting a value of null restores the default token (link DEFAULT_SUFFIX_TOKEN). | }} | String
 | *initialProperties* (advanced) | Sets initial properties which will be used before any locations are resolved. |  | Properties
 | *overrideProperties* (advanced) | Sets a special list of override properties that take precedence and will use first, if a property exist. |  | Properties
-| *systemPropertiesMode* (common) | Sets the system property mode. | 2 | int
+| *systemPropertiesMode* (common) | Sets the system property (and environment variable) mode. The default mode (override) is to check system properties (and environment variables) first, before trying the specified properties. This allows system properties/environment variables to override any other property source. | 2 | int
+| *environmentVariableMode* (common) | Sets the OS environment variables mode. The default mode (fallback) is to check OS environment variables, if the property cannot be resolved from its sources first. This allows environment variables as fallback values. | 1 | int
 | *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
 |===
 // component options: END
@@ -93,7 +94,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s
 ----
 
 
-The component supports 18 options, which are listed below.
+The component supports 19 options, which are listed below.
 
 
 
@@ -104,6 +105,7 @@ The component supports 18 options, which are listed below.
 | *camel.component.properties.default-fallback-enabled* | If false, the component does not attempt to find a default for the key by looking after the colon separator. | true | Boolean
 | *camel.component.properties.enabled* | Whether to enable auto configuration of the properties component. This is enabled by default. |  | Boolean
 | *camel.component.properties.encoding* | Encoding to use when loading properties file from the file system or classpath. If no encoding has been set, then the properties files is loaded using ISO-8859-1 encoding (latin-1) as documented by java.util.Properties#load(java.io.InputStream) |  | String
+| *camel.component.properties.environment-variable-mode* | Sets the OS environment variables mode. The default mode (fallback) is to check OS environment variables, if the property cannot be resolved from its sources first. This allows environment variables as fallback values. | 1 | Integer
 | *camel.component.properties.fallback-to-unaugmented-property* | If true, first attempt resolution of property name augmented with propertyPrefix and propertySuffix before falling back the plain property name specified. If false, only the augmented property name is searched. | true | Boolean
 | *camel.component.properties.ignore-missing-location* | Whether to silently ignore if a location cannot be located, such as a properties file not found. | false | Boolean
 | *camel.component.properties.initial-properties* | Sets initial properties which will be used before any locations are resolved. The option is a java.util.Properties type. |  | String
@@ -117,7 +119,7 @@ The component supports 18 options, which are listed below.
 | *camel.component.properties.property-suffix* | Optional suffix appended to property names before resolution. |  | String
 | *camel.component.properties.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
 | *camel.component.properties.suffix-token* | Sets the value of the suffix token used to identify properties to replace. Setting a value of null restores the default token (link DEFAULT_SUFFIX_TOKEN). | }} | String
-| *camel.component.properties.system-properties-mode* | Sets the system property mode. | 2 | Integer
+| *camel.component.properties.system-properties-mode* | Sets the system property (and environment variable) mode. The default mode (override) is to check system properties (and environment variables) first, before trying the specified properties. This allows system properties/environment variables to override any other property source. | 2 | Integer
 |===
 // spring-boot-auto-configure options: END
 
@@ -250,7 +252,7 @@ You can have multiple placeholders in the same location, such as:
 location=file:${env:APP_HOME}/etc/${prop.name}.properties
 ----
 
-#=== Using system and environment variables to configure property prefixes and suffixes
+=== Using system and environment variables to configure property prefixes and suffixes
 
 *Available as of Camel 2.12.5, 2.13.3, 2.14.0*
 
@@ -494,6 +496,21 @@ The example below has property placeholder in the `<jmxAgent>` tag:
 You can also define property placeholders in the various attributes on
 the `<camelContext>` tag such as `trace` as shown here:
 
+=== Using JVM system properties or Environment variables as override or fallback values
+
+The properties components supports using JVM system properties and also OS environment variables
+as values which can either be used as override or fallback values.
+
+The default mode is that JVM system properties are in override mode, which means they
+are checked first.
+
+And as of Camel 3.0 then OS environment variables are in fallback mode as default mode,
+which means that if a property was not found then as a fallback the OS environment variables
+is checked as last.
+
+You can control these modes using the `systemPropertiesMode` and `environmentVariableMode`
+options on the properties component.
+
 === Overriding a property setting using a JVM System Property
 
 *Available as of Camel 2.5* +


[camel] 10/11: CAMEL-13165 - Added karaf feature ITest

Posted by ac...@apache.org.
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 c490eeb6b49b5980645d7ef2ef2a6df5d394e2a6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:24:53 2019 +0100

    CAMEL-13165 - Added karaf feature ITest
---
 .../{CamelAwsTest.java => CamelAwsMskTest.java}    | 23 +++-------------------
 .../org/apache/camel/itest/karaf/CamelAwsTest.java |  1 +
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
similarity index 51%
copy from tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
copy to tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
index 3b33692..795ef4c 100644
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
@@ -21,30 +21,13 @@ import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 
 @RunWith(PaxExam.class)
-public class CamelAwsTest extends BaseKarafTest {
+public class CamelAwsMskTest extends BaseKarafTest {
 
-    public static final String COMPONENT = extractName(CamelAwsTest.class);
+    public static final String COMPONENT = extractName(CamelAwsMskTest.class);
 
     @Test
     public void test() throws Exception {
-        testComponent(COMPONENT, "aws-cw");
-        testComponent(COMPONENT, "aws-ddb");
-        testComponent(COMPONENT, "aws-ddbstream");
-        testComponent(COMPONENT, "aws-ec2");
-        testComponent(COMPONENT, "aws-ecs");
-        testComponent(COMPONENT, "aws-eks");
-        testComponent(COMPONENT, "aws-iam");
-        testComponent(COMPONENT, "aws-kinesis");
-        testComponent(COMPONENT, "aws-kinesis-firehose");
-        testComponent(COMPONENT, "aws-kms");
-        testComponent(COMPONENT, "aws-lambda");
-        testComponent(COMPONENT, "aws-mq");
-        testComponent(COMPONENT, "aws-s3");
-        testComponent(COMPONENT, "aws-sdb");
-        testComponent(COMPONENT, "aws-ses");
-        testComponent(COMPONENT, "aws-sns");
-        testComponent(COMPONENT, "aws-sqs");
-        testComponent(COMPONENT, "aws-swf");
+    	testComponent(COMPONENT);
     }
 
 }
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
index 3b33692..71d55f5 100644
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
@@ -39,6 +39,7 @@ public class CamelAwsTest extends BaseKarafTest {
         testComponent(COMPONENT, "aws-kms");
         testComponent(COMPONENT, "aws-lambda");
         testComponent(COMPONENT, "aws-mq");
+        testComponent(COMPONENT, "aws-msk");
         testComponent(COMPONENT, "aws-s3");
         testComponent(COMPONENT, "aws-sdb");
         testComponent(COMPONENT, "aws-ses");


[camel] 04/11: CAMEL-13165 - Added camel-aws-msk to kit

Posted by ac...@apache.org.
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 4925b585df05fe23d1e45b50ac90195386cf4f6e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 13:16:25 2019 +0100

    CAMEL-13165 - Added camel-aws-msk to kit
---
 apache-camel/pom.xml                               |  10 ++
 apache-camel/src/main/descriptors/common-bin.xml   |   2 +
 bom/camel-bom/pom.xml                              |  10 ++
 components/camel-aws-msk/bin/pom.xml               |  81 ---------
 .../bin/src/main/docs/aws-kms-component.adoc       | 182 ---------------------
 .../camel/component/aws/kms/MSKComponent.class     | Bin 6580 -> 0 bytes
 .../aws/kms/MSKComponentVerifierExtension.class    | Bin 5686 -> 0 bytes
 .../camel/component/aws/kms/MSKConfiguration.class | Bin 5398 -> 0 bytes
 .../camel/component/aws/kms/MSKConstants.class     | Bin 799 -> 0 bytes
 .../camel/component/aws/kms/MSKEndpoint.class      | Bin 8731 -> 0 bytes
 .../camel/component/aws/kms/MSKOperations.class    | Bin 1146 -> 0 bytes
 .../camel/component/aws/kms/MSKProducer.class      | Bin 5348 -> 0 bytes
 .../component/aws/kms/AmazonMKSClientMock.class    | Bin 775 -> 0 bytes
 .../component/aws/kms/KMSProducerSpringTest.class  | Bin 9622 -> 0 bytes
 .../camel/component/aws/kms/KMSProducerTest.class  | Bin 9526 -> 0 bytes
 .../aws/kms/MSKComponentConfigurationTest.class    | Bin 2491 -> 0 bytes
 .../kms/MSKComponentVerifierExtensionTest.class    | Bin 3883 -> 0 bytes
 .../bin/src/test/resources/log4j2.properties       |  28 ----
 .../aws/kms/KMSComponentSpringTest-context.xml     |  60 -------
 components/pom.xml                                 |   1 +
 parent/pom.xml                                     |  10 ++
 .../camel-spring-boot-dependencies/pom.xml         |  10 ++
 22 files changed, 43 insertions(+), 351 deletions(-)

diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index 3932df5..282838d 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -195,6 +195,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
+      <artifactId>camel-aws-msk</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
       <artifactId>camel-aws-mq</artifactId>
       <version>${project.version}</version>
     </dependency>
@@ -1674,6 +1679,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
+      <artifactId>camel-aws-msk-starter</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
       <artifactId>camel-aws-mq-starter</artifactId>
       <version>${project.version}</version>
     </dependency>
diff --git a/apache-camel/src/main/descriptors/common-bin.xml b/apache-camel/src/main/descriptors/common-bin.xml
index a3beabf..ca7b3cf 100644
--- a/apache-camel/src/main/descriptors/common-bin.xml
+++ b/apache-camel/src/main/descriptors/common-bin.xml
@@ -61,6 +61,7 @@
         <include>org.apache.camel:camel-aws-kms</include>
         <include>org.apache.camel:camel-aws-lambda</include>
         <include>org.apache.camel:camel-aws-mq</include>
+        <include>org.apache.camel:camel-aws-msk</include>
         <include>org.apache.camel:camel-aws-s3</include>
         <include>org.apache.camel:camel-aws-sdb</include>
         <include>org.apache.camel:camel-aws-ses</include>
@@ -393,6 +394,7 @@
         <include>org.apache.camel:camel-aws-kms-starter</include>
         <include>org.apache.camel:camel-aws-lambda-starter</include>
         <include>org.apache.camel:camel-aws-mq-starter</include>
+        <include>org.apache.camel:camel-aws-msk-starter</include>
         <include>org.apache.camel:camel-aws-s3-starter</include>
         <include>org.apache.camel:camel-aws-sdb-starter</include>
         <include>org.apache.camel:camel-aws-ses-starter</include>
diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index f5bf6bf..9e86d37 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -283,6 +283,16 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-aws-s3</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/components/camel-aws-msk/bin/pom.xml b/components/camel-aws-msk/bin/pom.xml
deleted file mode 100644
index c29ca1d..0000000
--- a/components/camel-aws-msk/bin/pom.xml
+++ /dev/null
@@ -1,81 +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.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>camel-aws-msk</artifactId>
-    <packaging>jar</packaging>
-
-    <name>Camel :: AWS MSK</name>
-    <description>A Camel Amazon MSK Web Service Component</description>
-
-    <properties>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-support</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.amazonaws</groupId>
-            <artifactId>aws-java-sdk-kafka</artifactId>
-            <version>${aws-java-sdk-version}</version>
-        </dependency>
-
-        <!-- for testing -->
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-test-spring</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-api</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc b/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc
deleted file mode 100644
index 77f8a26..0000000
--- a/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc
+++ /dev/null
@@ -1,182 +0,0 @@
-[[aws-kms-component]]
-== AWS KMS Component
-
-*Available as of Camel version 2.21*
-
-The KMS component supports create, run, start, stop and terminate
-https://aws.amazon.com/it/kms/[AWS KMS] instances.
-
-Prerequisites
-
-You must have a valid Amazon Web Services developer account, and be
-signed up to use Amazon KMS. More information are available at
-https://aws.amazon.com/it/mq/[Amazon KMS].
-
-### URI Format
-
-[source,java]
--------------------------
-aws-kms://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 KMS component supports 5 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *configuration* (advanced) | The AWS KMS default configuration |  | KMSConfiguration
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *region* (producer) | The region in which KMS client needs to work |  | String
-| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
-|===
-// component options: END
-
-
-
-
-// endpoint options: START
-The AWS KMS endpoint is configured using URI syntax:
-
-----
-aws-kms: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 (8 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *kmsClient* (producer) | To use a existing configured AWS KMS as client |  | AWSKMS
-| *operation* (producer) | *Required* The operation to perform |  | KMSOperations
-| *proxyHost* (producer) | To define a proxy host when instantiating the KMS client |  | String
-| *proxyPort* (producer) | To define a proxy port when instantiating the KMS client |  | Integer
-| *region* (producer) | The region in which KMS client needs to work |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
-|===
-// endpoint options: END
-// spring-boot-auto-configure options: START
-=== Spring Boot Auto-Configuration
-
-When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
-
-[source,xml]
-----
-<dependency>
-  <groupId>org.apache.camel</groupId>
-  <artifactId>camel-aws-kms-starter</artifactId>
-  <version>x.x.x</version>
-  <!-- use the same version as your Camel core version -->
-</dependency>
-----
-
-
-The component supports 12 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *camel.component.aws-kms.access-key* | Amazon AWS Access Key |  | String
-| *camel.component.aws-kms.configuration.access-key* | Amazon AWS Access Key |  | String
-| *camel.component.aws-kms.configuration.kms-client* | To use a existing configured AWS KMS as client |  | AWSKMS
-| *camel.component.aws-kms.configuration.operation* | The operation to perform |  | KMSOperations
-| *camel.component.aws-kms.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
-| *camel.component.aws-kms.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
-| *camel.component.aws-kms.configuration.region* | The region in which KMS client needs to work |  | String
-| *camel.component.aws-kms.configuration.secret-key* | Amazon AWS Secret Key |  | String
-| *camel.component.aws-kms.enabled* | Whether to enable auto configuration of the aws-kms component. This is enabled by default. |  | Boolean
-| *camel.component.aws-kms.region* | The region in which KMS client needs to work |  | String
-| *camel.component.aws-kms.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
-| *camel.component.aws-kms.secret-key* | Amazon AWS Secret Key |  | String
-|===
-// spring-boot-auto-configure options: END
-
-
-
-
-Required KMS component options
-
-You have to provide the amazonKmsClient in the
-Registry or your accessKey and secretKey to access
-the https://aws.amazon.com/it/kms/[Amazon KMS] service.
-
-### Usage
-
-#### Message headers evaluated by the MQ producer
-
-[width="100%",cols="10%,10%,80%",options="header",]
-|=======================================================================
-|Header |Type |Description
-
-|`CamelAwsKMSLimit` |`Integer` |The limit number of keys to return while performing a listKeys operation
-
-|`CamelAwsKMSOperation` |`String` |The operation we want to perform
-
-|`CamelAwsKMSDescription` |`String` |A key description to use while performing a createKey operation
-
-|`CamelAwsKMSKeyId` |`String` |The key Id 
-|=======================================================================
-
-#### KMS Producer operations
-
-Camel-AWS KMS component provides the following operation on the producer side:
-
-- listKeys
-- createKey
-- disableKey
-- scheduleKeyDeletion
-- describeKey
-- enableKey
-
-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-kms</artifactId>
-    <version>${camel-version}</version>
-</dependency>
----------------------------------------
-
-where `${camel-version`} must be replaced by the actual version of Camel
-(2.16 or higher).
-
-### See Also
-
-* Configuring Camel
-* Component
-* Endpoint
-* Getting Started
-
-* AWS Component
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class
deleted file mode 100644
index c7d4963..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class
deleted file mode 100644
index 144ae2e..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class
deleted file mode 100644
index dbf1478..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class
deleted file mode 100644
index fb77aaf..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class
deleted file mode 100644
index 7fd6129..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class
deleted file mode 100644
index 16ec708..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class
deleted file mode 100644
index 6c8b42e..0000000
Binary files a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class
deleted file mode 100644
index 2a5517c..0000000
Binary files a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class
deleted file mode 100644
index 5a6a3fe..0000000
Binary files a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class
deleted file mode 100644
index 50605ab..0000000
Binary files a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class
deleted file mode 100644
index 0e6e223..0000000
Binary files a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class
deleted file mode 100644
index e161b81..0000000
Binary files a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class and /dev/null differ
diff --git a/components/camel-aws-msk/bin/src/test/resources/log4j2.properties b/components/camel-aws-msk/bin/src/test/resources/log4j2.properties
deleted file mode 100644
index 986f470..0000000
--- a/components/camel-aws-msk/bin/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-kms-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-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml b/components/camel-aws-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml
deleted file mode 100644
index 42eccfd..0000000
--- a/components/camel-aws-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml
+++ /dev/null
@@ -1,60 +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:listKeys"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=listKeys"/>
-            <to uri="mock:result"/>
-        </route>
-        <route>
-            <from uri="direct:createKey"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=createKey"/>
-            <to uri="mock:result"/>
-        </route>
-        <route>
-            <from uri="direct:disableKey"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=disableKey"/>
-            <to uri="mock:result"/>
-        </route>
-        <route>
-            <from uri="direct:enableKey"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=enableKey"/>
-            <to uri="mock:result"/>
-        </route>
-        <route>
-            <from uri="direct:scheduleDelete"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=scheduleKeyDeletion"/>
-            <to uri="mock:result"/>
-        </route>
-        <route>
-            <from uri="direct:describeKey"/>
-            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=describeKey"/>
-            <to uri="mock:result"/>
-        </route>
-    </camelContext>
-
-    <bean id="amazonKmsClient" class="org.apache.camel.component.aws.kms.AmazonKMSClientMock"/>
-</beans>
\ No newline at end of file
diff --git a/components/pom.xml b/components/pom.xml
index bf36f6b..b789c0c 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -102,6 +102,7 @@
     <module>camel-aws-kms</module>
     <module>camel-aws-lambda</module>
     <module>camel-aws-mq</module>
+    <module>camel-aws-msk</module>
     <module>camel-aws-s3</module>
     <module>camel-aws-sdb</module>
     <module>camel-aws-ses</module>
diff --git a/parent/pom.xml b/parent/pom.xml
index 3a91c6a..ad8f061 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -961,6 +961,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-aws-s3</artifactId>
         <version>${project.version}</version>
       </dependency>
@@ -2485,6 +2490,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-aws-s3-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
index d9da156..1fdaa1f 100644
--- a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
+++ b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
@@ -493,6 +493,16 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-aws-msk-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-aws-s3</artifactId>
         <version>${project.version}</version>
       </dependency>


[camel] 11/11: CAMEL-13165 - Added Spring Boot ITest

Posted by ac...@apache.org.
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 2af9669d8627c8345c199264854c7368cf78e5ad
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:32:43 2019 +0100

    CAMEL-13165 - Added Spring Boot ITest
---
 .../camel/itest/springboot/CamelAwsMskTest.java    | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAwsMskTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAwsMskTest.java
new file mode 100644
index 0000000..9988e75
--- /dev/null
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAwsMskTest.java
@@ -0,0 +1,48 @@
+/**
+ * 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.itest.springboot;
+
+import org.apache.camel.itest.springboot.util.ArquillianPackager;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.shrinkwrap.api.Archive;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+
+@RunWith(Arquillian.class)
+public class CamelAwsMskTest extends AbstractSpringBootTestSupport {
+
+    @Deployment
+    public static Archive<?> createSpringBootPackage() throws Exception {
+        return ArquillianPackager.springBootPackage(createTestConfig());
+    }
+
+    public static ITestConfig createTestConfig() {
+        return new ITestConfigBuilder()
+                .module(inferModuleName(CamelAwsMskTest.class))
+                .build();
+    }
+
+    @Test
+    public void componentTests() throws Exception {
+        this.runComponentTest(config);
+        this.runModuleUnitTestsIfEnabled(config);
+    }
+
+
+}


[camel] 05/11: CAMEL-13165 - Regen docs

Posted by ac...@apache.org.
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 e2484389978ded4acce57b8999ba8609f01580ba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 13:27:15 2019 +0100

    CAMEL-13165 - Regen docs
---
 .../src/main/docs/aws-kms-component.adoc           | 182 ---------------------
 1 file changed, 182 deletions(-)

diff --git a/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc b/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc
deleted file mode 100644
index 77f8a26..0000000
--- a/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc
+++ /dev/null
@@ -1,182 +0,0 @@
-[[aws-kms-component]]
-== AWS KMS Component
-
-*Available as of Camel version 2.21*
-
-The KMS component supports create, run, start, stop and terminate
-https://aws.amazon.com/it/kms/[AWS KMS] instances.
-
-Prerequisites
-
-You must have a valid Amazon Web Services developer account, and be
-signed up to use Amazon KMS. More information are available at
-https://aws.amazon.com/it/mq/[Amazon KMS].
-
-### URI Format
-
-[source,java]
--------------------------
-aws-kms://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 KMS component supports 5 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *configuration* (advanced) | The AWS KMS default configuration |  | KMSConfiguration
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *region* (producer) | The region in which KMS client needs to work |  | String
-| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
-|===
-// component options: END
-
-
-
-
-// endpoint options: START
-The AWS KMS endpoint is configured using URI syntax:
-
-----
-aws-kms: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 (8 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *accessKey* (producer) | Amazon AWS Access Key |  | String
-| *kmsClient* (producer) | To use a existing configured AWS KMS as client |  | AWSKMS
-| *operation* (producer) | *Required* The operation to perform |  | KMSOperations
-| *proxyHost* (producer) | To define a proxy host when instantiating the KMS client |  | String
-| *proxyPort* (producer) | To define a proxy port when instantiating the KMS client |  | Integer
-| *region* (producer) | The region in which KMS client needs to work |  | String
-| *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
-|===
-// endpoint options: END
-// spring-boot-auto-configure options: START
-=== Spring Boot Auto-Configuration
-
-When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
-
-[source,xml]
-----
-<dependency>
-  <groupId>org.apache.camel</groupId>
-  <artifactId>camel-aws-kms-starter</artifactId>
-  <version>x.x.x</version>
-  <!-- use the same version as your Camel core version -->
-</dependency>
-----
-
-
-The component supports 12 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *camel.component.aws-kms.access-key* | Amazon AWS Access Key |  | String
-| *camel.component.aws-kms.configuration.access-key* | Amazon AWS Access Key |  | String
-| *camel.component.aws-kms.configuration.kms-client* | To use a existing configured AWS KMS as client |  | AWSKMS
-| *camel.component.aws-kms.configuration.operation* | The operation to perform |  | KMSOperations
-| *camel.component.aws-kms.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
-| *camel.component.aws-kms.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
-| *camel.component.aws-kms.configuration.region* | The region in which KMS client needs to work |  | String
-| *camel.component.aws-kms.configuration.secret-key* | Amazon AWS Secret Key |  | String
-| *camel.component.aws-kms.enabled* | Whether to enable auto configuration of the aws-kms component. This is enabled by default. |  | Boolean
-| *camel.component.aws-kms.region* | The region in which KMS client needs to work |  | String
-| *camel.component.aws-kms.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
-| *camel.component.aws-kms.secret-key* | Amazon AWS Secret Key |  | String
-|===
-// spring-boot-auto-configure options: END
-
-
-
-
-Required KMS component options
-
-You have to provide the amazonKmsClient in the
-Registry or your accessKey and secretKey to access
-the https://aws.amazon.com/it/kms/[Amazon KMS] service.
-
-### Usage
-
-#### Message headers evaluated by the MQ producer
-
-[width="100%",cols="10%,10%,80%",options="header",]
-|=======================================================================
-|Header |Type |Description
-
-|`CamelAwsKMSLimit` |`Integer` |The limit number of keys to return while performing a listKeys operation
-
-|`CamelAwsKMSOperation` |`String` |The operation we want to perform
-
-|`CamelAwsKMSDescription` |`String` |A key description to use while performing a createKey operation
-
-|`CamelAwsKMSKeyId` |`String` |The key Id 
-|=======================================================================
-
-#### KMS Producer operations
-
-Camel-AWS KMS component provides the following operation on the producer side:
-
-- listKeys
-- createKey
-- disableKey
-- scheduleKeyDeletion
-- describeKey
-- enableKey
-
-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-kms</artifactId>
-    <version>${camel-version}</version>
-</dependency>
----------------------------------------
-
-where `${camel-version`} must be replaced by the actual version of Camel
-(2.16 or higher).
-
-### See Also
-
-* Configuring Camel
-* Component
-* Endpoint
-* Getting Started
-
-* AWS Component


[camel] 03/11: CAMEL-13165 - Fixed CS

Posted by ac...@apache.org.
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 b94b284d3b0cd28d00314c0ff7fdda3c79b780be
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 13:10:10 2019 +0100

    CAMEL-13165 - Fixed CS
---
 .../camel/component/aws/msk/MSKConfiguration.java  |  4 +-
 .../camel/component/aws/msk/MSKProducer.java       | 12 ++---
 .../component/aws/msk/AmazonMSKClientMock.java     | 13 +++--
 .../aws/msk/MSKComponentConfigurationTest.java     | 11 ++---
 .../aws/msk/MSKComponentVerifierExtensionTest.java |  1 -
 .../component/aws/msk/MSKProducerSpringTest.java   | 36 +++++++-------
 .../camel/component/aws/msk/MSKProducerTest.java   | 56 ++++++++++------------
 7 files changed, 59 insertions(+), 74 deletions(-)

diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
index 93e86bd..aa7a3ff 100644
--- a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
@@ -16,14 +16,14 @@
  */
 package org.apache.camel.component.aws.msk;
 
+import com.amazonaws.services.kafka.AWSKafka;
+
 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;
 
-import com.amazonaws.services.kafka.AWSKafka;
-
 @UriParams
 public class MSKConfiguration implements Cloneable {
 
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
index b59b9e1..900d10c 100644
--- a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
@@ -102,7 +102,7 @@ public class MSKProducer extends DefaultProducer {
         Message message = getMessageForResponse(exchange);
         message.setBody(result);
     }
-    
+
     private void createCluster(AWSKafka mskClient, Exchange exchange) {
         CreateClusterRequest request = new CreateClusterRequest();
         if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTER_NAME))) {
@@ -124,8 +124,8 @@ public class MSKProducer extends DefaultProducer {
             throw new IllegalArgumentException("Kafka Version must be specified");
         }
         if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.BROKER_NODES_GROUP_INFO))) {
-        	BrokerNodeGroupInfo brokerNodesGroupInfo = exchange.getIn().getHeader(MSKConstants.BROKER_NODES_GROUP_INFO, BrokerNodeGroupInfo.class);
-			request.withBrokerNodeGroupInfo(brokerNodesGroupInfo);
+            BrokerNodeGroupInfo brokerNodesGroupInfo = exchange.getIn().getHeader(MSKConstants.BROKER_NODES_GROUP_INFO, BrokerNodeGroupInfo.class);
+            request.withBrokerNodeGroupInfo(brokerNodesGroupInfo);
         } else {
             throw new IllegalArgumentException("BrokerNodeGroupInfo must be specified");
         }
@@ -139,7 +139,7 @@ public class MSKProducer extends DefaultProducer {
         Message message = getMessageForResponse(exchange);
         message.setBody(result);
     }
-    
+
     private void deleteCluster(AWSKafka mskClient, Exchange exchange) {
         DeleteClusterRequest request = new DeleteClusterRequest();
         if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTER_ARN))) {
@@ -158,7 +158,7 @@ public class MSKProducer extends DefaultProducer {
         Message message = getMessageForResponse(exchange);
         message.setBody(result);
     }
-    
+
     public static Message getMessageForResponse(final Exchange exchange) {
         if (exchange.getPattern().isOutCapable()) {
             Message out = exchange.getOut();
@@ -167,4 +167,4 @@ public class MSKProducer extends DefaultProducer {
         }
         return exchange.getIn();
     }
-}
\ No newline at end of file
+}
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
index b70c979..7924bf3 100644
--- a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
@@ -29,7 +29,6 @@ import com.amazonaws.services.kafka.model.DeleteClusterResult;
 import com.amazonaws.services.kafka.model.ListClustersRequest;
 import com.amazonaws.services.kafka.model.ListClustersResult;
 
-
 public class AmazonMSKClientMock extends AbstractAWSKafka {
 
     public AmazonMSKClientMock() {
@@ -46,7 +45,7 @@ public class AmazonMSKClientMock extends AbstractAWSKafka {
         result.setClusterInfoList(info);
         return result;
     }
-    
+
     @Override
     public CreateClusterResult createCluster(CreateClusterRequest request) {
         CreateClusterResult result = new CreateClusterResult();
@@ -54,12 +53,12 @@ public class AmazonMSKClientMock extends AbstractAWSKafka {
         result.setState(ClusterState.CREATING.name());
         return result;
     }
-    
+
     @Override
     public DeleteClusterResult deleteCluster(DeleteClusterRequest request) {
-         DeleteClusterResult res = new DeleteClusterResult();
-         res.setClusterArn(request.getClusterArn());
-         res.setState(ClusterState.DELETING.name());
-         return res;
+        DeleteClusterResult res = new DeleteClusterResult();
+        res.setClusterArn(request.getClusterArn());
+        res.setState(ClusterState.DELETING.name());
+        return res;
     }
 }
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
index ec81a5e..ac6cd8d 100644
--- a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
@@ -18,25 +18,22 @@ package org.apache.camel.component.aws.msk;
 
 import com.amazonaws.regions.Regions;
 
-import org.apache.camel.component.aws.msk.MSKComponent;
-import org.apache.camel.component.aws.msk.MSKEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
 public class MSKComponentConfigurationTest extends CamelTestSupport {
 
-    
     @Test
     public void createEndpointWithComponentElements() throws Exception {
         MSKComponent component = new MSKComponent(context);
         component.setAccessKey("XXX");
         component.setSecretKey("YYY");
         MSKEndpoint endpoint = (MSKEndpoint)component.createEndpoint("aws-msk://label");
-        
+
         assertEquals("XXX", endpoint.getConfiguration().getAccessKey());
         assertEquals("YYY", endpoint.getConfiguration().getSecretKey());
     }
-    
+
     @Test
     public void createEndpointWithComponentAndEndpointElements() throws Exception {
         MSKComponent component = new MSKComponent(context);
@@ -44,10 +41,10 @@ public class MSKComponentConfigurationTest extends CamelTestSupport {
         component.setSecretKey("YYY");
         component.setRegion(Regions.US_WEST_1.toString());
         MSKEndpoint endpoint = (MSKEndpoint)component.createEndpoint("aws-msk://label?accessKey=xxxxxx&secretKey=yyyyy&region=US_EAST_1");
-        
+
         assertEquals("xxxxxx", endpoint.getConfiguration().getAccessKey());
         assertEquals("yyyyy", endpoint.getConfiguration().getSecretKey());
         assertEquals("US_EAST_1", endpoint.getConfiguration().getRegion());
     }
-    
+
 }
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
index cf57117..e02a791 100644
--- a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
@@ -20,7 +20,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.camel.Component;
-import org.apache.camel.component.aws.msk.MSKOperations;
 import org.apache.camel.component.extension.ComponentVerifierExtension;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Assert;
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
index 50a26f2..861e888 100644
--- a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
@@ -16,27 +16,25 @@
  */
 package org.apache.camel.component.aws.msk;
 
+import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
+import com.amazonaws.services.kafka.model.ClusterState;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
 import org.apache.camel.EndpointInject;
 import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
-import org.apache.camel.component.aws.msk.MSKConstants;
-import org.apache.camel.component.aws.msk.MSKOperations;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.spring.CamelSpringTestSupport;
 import org.junit.Test;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
-import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
-import com.amazonaws.services.kafka.model.ClusterState;
-import com.amazonaws.services.kafka.model.CreateClusterResult;
-import com.amazonaws.services.kafka.model.DeleteClusterResult;
-import com.amazonaws.services.kafka.model.ListClustersResult;
-
 public class MSKProducerSpringTest extends CamelSpringTestSupport {
-    
+
     @EndpointInject(uri = "mock:result")
     private MockEndpoint mock;
-    
+
     @Test
     public void kmsListKeysTest() throws Exception {
 
@@ -49,12 +47,12 @@ public class MSKProducerSpringTest extends CamelSpringTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        ListClustersResult resultGet = (ListClustersResult) exchange.getIn().getBody();
+
+        ListClustersResult resultGet = (ListClustersResult)exchange.getIn().getBody();
         assertEquals(1, resultGet.getClusterInfoList().size());
         assertEquals("test-kafka", resultGet.getClusterInfoList().get(0).getClusterName());
     }
-    
+
     @Test
     public void mskCreateClusterTest() throws Exception {
 
@@ -72,12 +70,12 @@ public class MSKProducerSpringTest extends CamelSpringTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        CreateClusterResult resultGet = (CreateClusterResult) exchange.getIn().getBody();
+
+        CreateClusterResult resultGet = (CreateClusterResult)exchange.getIn().getBody();
         assertEquals("test-kafka", resultGet.getClusterName());
         assertEquals(ClusterState.CREATING.name(), resultGet.getState());
     }
-    
+
     @Test
     public void mskDeleteClusterTest() throws Exception {
 
@@ -91,8 +89,8 @@ public class MSKProducerSpringTest extends CamelSpringTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        DeleteClusterResult resultGet = (DeleteClusterResult) exchange.getIn().getBody();
+
+        DeleteClusterResult resultGet = (DeleteClusterResult)exchange.getIn().getBody();
         assertEquals("test-kafka", resultGet.getClusterArn());
         assertEquals(ClusterState.DELETING.name(), resultGet.getState());
     }
@@ -101,4 +99,4 @@ public class MSKProducerSpringTest extends CamelSpringTestSupport {
     protected ClassPathXmlApplicationContext createApplicationContext() {
         return new ClassPathXmlApplicationContext("org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml");
     }
-}
\ No newline at end of file
+}
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
index 23d3ada..84a5854 100644
--- a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
@@ -16,28 +16,26 @@
  */
 package org.apache.camel.component.aws.msk;
 
+import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
+import com.amazonaws.services.kafka.model.ClusterState;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
 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.msk.MSKConstants;
-import org.apache.camel.component.aws.msk.MSKOperations;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.JndiRegistry;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
-import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
-import com.amazonaws.services.kafka.model.ClusterState;
-import com.amazonaws.services.kafka.model.CreateClusterResult;
-import com.amazonaws.services.kafka.model.DeleteClusterResult;
-import com.amazonaws.services.kafka.model.ListClustersResult;
-
 public class MSKProducerTest extends CamelTestSupport {
-    
+
     @EndpointInject(uri = "mock:result")
     private MockEndpoint mock;
-    
+
     @Test
     public void kmsListClustersTest() throws Exception {
 
@@ -50,12 +48,12 @@ public class MSKProducerTest extends CamelTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        ListClustersResult resultGet = (ListClustersResult) exchange.getIn().getBody();
+
+        ListClustersResult resultGet = (ListClustersResult)exchange.getIn().getBody();
         assertEquals(1, resultGet.getClusterInfoList().size());
         assertEquals("test-kafka", resultGet.getClusterInfoList().get(0).getClusterName());
     }
-    
+
     @Test
     public void mskCreateClusterTest() throws Exception {
 
@@ -73,12 +71,12 @@ public class MSKProducerTest extends CamelTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        CreateClusterResult resultGet = (CreateClusterResult) exchange.getIn().getBody();
+
+        CreateClusterResult resultGet = (CreateClusterResult)exchange.getIn().getBody();
         assertEquals("test-kafka", resultGet.getClusterName());
         assertEquals(ClusterState.CREATING.name(), resultGet.getState());
     }
-    
+
     @Test
     public void mskDeleteClusterTest() throws Exception {
 
@@ -92,20 +90,20 @@ public class MSKProducerTest extends CamelTestSupport {
         });
 
         assertMockEndpointsSatisfied();
-        
-        DeleteClusterResult resultGet = (DeleteClusterResult) exchange.getIn().getBody();
+
+        DeleteClusterResult resultGet = (DeleteClusterResult)exchange.getIn().getBody();
         assertEquals("test-kafka", resultGet.getClusterArn());
         assertEquals(ClusterState.DELETING.name(), resultGet.getState());
     }
-    
+
     @Override
     protected JndiRegistry createRegistry() throws Exception {
         JndiRegistry registry = super.createRegistry();
-        
+
         AmazonMSKClientMock clientMock = new AmazonMSKClientMock();
-        
+
         registry.bind("amazonMskClient", clientMock);
-        
+
         return registry;
     }
 
@@ -114,16 +112,10 @@ public class MSKProducerTest extends CamelTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("direct:listClusters")
-                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=listClusters")
-                    .to("mock:result");
-                from("direct:createCluster")
-                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=createCluster")
-                    .to("mock:result");
-                from("direct:deleteCluster")
-                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=deleteCluster")
-                    .to("mock:result");
+                from("direct:listClusters").to("aws-msk://test?mskClient=#amazonMskClient&operation=listClusters").to("mock:result");
+                from("direct:createCluster").to("aws-msk://test?mskClient=#amazonMskClient&operation=createCluster").to("mock:result");
+                from("direct:deleteCluster").to("aws-msk://test?mskClient=#amazonMskClient&operation=deleteCluster").to("mock:result");
             }
         };
     }
-}
\ No newline at end of file
+}


[camel] 08/11: CAMEL-13165 - Brings in docs for SB too

Posted by ac...@apache.org.
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 0204b93ea18fb7f2bfd7e72e5dd85ce95c286d5d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:11:37 2019 +0100

    CAMEL-13165 - Brings in docs for SB too
---
 .../src/main/docs/aws-msk-component.adoc           | 35 ++++++++++++++++++++++
 docs/components/modules/ROOT/nav.adoc              |  1 +
 .../modules/ROOT/pages}/aws-msk-component.adoc     | 35 ++++++++++++++++++++++
 3 files changed, 71 insertions(+)

diff --git a/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc b/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
index e1d5432..77eea2d 100644
--- a/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
+++ b/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
@@ -81,6 +81,41 @@ with the following path and query parameters:
 // endpoint options: END
 
 // spring-boot-auto-configure options: START
+=== Spring Boot Auto-Configuration
+
+When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-aws-msk-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 12 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.aws-msk.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-msk.configuration.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-msk.configuration.msk-client* | To use a existing configured AWS MSK as client |  | AWSKafka
+| *camel.component.aws-msk.configuration.operation* | The operation to perform |  | MSKOperations
+| *camel.component.aws-msk.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
+| *camel.component.aws-msk.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
+| *camel.component.aws-msk.configuration.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-msk.configuration.secret-key* | Amazon AWS Secret Key |  | String
+| *camel.component.aws-msk.enabled* | Whether to enable auto configuration of the aws-msk component. This is enabled by default. |  | Boolean
+| *camel.component.aws-msk.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-msk.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
+| *camel.component.aws-msk.secret-key* | Amazon AWS Secret Key |  | String
+|===
 // spring-boot-auto-configure options: END
 
 
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 23893da..a2780c7 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -28,6 +28,7 @@
 * xref:aws-kms-component.adoc[AWS KMS Component]
 * xref:aws-lambda-component.adoc[AWS Lambda Component]
 * xref:aws-mq-component.adoc[AWS MQ Component]
+* xref:aws-msk-component.adoc[AWS MSK Component]
 * xref:aws-s3-component.adoc[AWS S3 Storage Service Component]
 * xref:aws-sdb-component.adoc[AWS SimpleDB Component]
 * xref:aws-cw-component.adoc[AWS CloudWatch Component]
diff --git a/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc b/docs/components/modules/ROOT/pages/aws-msk-component.adoc
similarity index 70%
copy from components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
copy to docs/components/modules/ROOT/pages/aws-msk-component.adoc
index e1d5432..77eea2d 100644
--- a/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws-msk-component.adoc
@@ -81,6 +81,41 @@ with the following path and query parameters:
 // endpoint options: END
 
 // spring-boot-auto-configure options: START
+=== Spring Boot Auto-Configuration
+
+When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-aws-msk-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 12 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.aws-msk.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-msk.configuration.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-msk.configuration.msk-client* | To use a existing configured AWS MSK as client |  | AWSKafka
+| *camel.component.aws-msk.configuration.operation* | The operation to perform |  | MSKOperations
+| *camel.component.aws-msk.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
+| *camel.component.aws-msk.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
+| *camel.component.aws-msk.configuration.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-msk.configuration.secret-key* | Amazon AWS Secret Key |  | String
+| *camel.component.aws-msk.enabled* | Whether to enable auto configuration of the aws-msk component. This is enabled by default. |  | Boolean
+| *camel.component.aws-msk.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-msk.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
+| *camel.component.aws-msk.secret-key* | Amazon AWS Secret Key |  | String
+|===
 // spring-boot-auto-configure options: END
 
 


[camel] 09/11: CAMEL-13165 - Added Karaf feature

Posted by ac...@apache.org.
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 92dbbb9fb385e0e8004461464e32ecb67acf1ef0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:14:48 2019 +0100

    CAMEL-13165 - Added Karaf feature
---
 platforms/karaf/features/src/main/resources/features.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index be3e787..90aa072 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -232,6 +232,7 @@
      <feature version='${project.version}'>camel-aws-kms</feature>
      <feature version='${project.version}'>camel-aws-lambda</feature>
      <feature version='${project.version}'>camel-aws-mq</feature>
+     <feature version='${project.version}'>camel-aws-msk</feature>
      <feature version='${project.version}'>camel-aws-sdb</feature>
      <feature version='${project.version}'>camel-aws-ses</feature>
      <feature version='${project.version}'>camel-aws-sns</feature>
@@ -403,6 +404,21 @@
     <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/${aws-java-sdk-bundle-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-aws-mq/${project.version}</bundle>
   </feature>
+  <feature name='camel-aws-msk' version='${project.version}' start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient4-version}</bundle>
+    <bundle dependency='true'>mvn:joda-time/joda-time/${jodatime2-bundle-version}</bundle>
+    <bundle dependency='true'>mvn:com.sun.mail/javax.mail/${javax-mail-version}</bundle>
+    <bundle dependency='true'>mvn:commons-codec/commons-codec/${commons-codec-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix-specs-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-databind/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/${aws-java-sdk-bundle-version}</bundle>
+    <bundle>mvn:org.apache.camel/camel-aws-msk/${project.version}</bundle>
+  </feature>
   <feature name='camel-aws-sdb' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle>


[camel] 01/11: CAMEL-13165 - Camel-AWS: Create an AWS MSK component

Posted by ac...@apache.org.
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 80c410097a3f79844d9c9b678b4ca54494dcb2c6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 12:20:20 2019 +0100

    CAMEL-13165 - Camel-AWS: Create an AWS MSK component
---
 components/camel-aws-msk/bin/pom.xml               |  81 +++++++++
 .../bin/src/main/docs/aws-kms-component.adoc       | 182 +++++++++++++++++++++
 .../camel/component/aws/kms/MSKComponent.class     | Bin 0 -> 6580 bytes
 .../aws/kms/MSKComponentVerifierExtension.class    | Bin 0 -> 5686 bytes
 .../camel/component/aws/kms/MSKConfiguration.class | Bin 0 -> 5398 bytes
 .../camel/component/aws/kms/MSKConstants.class     | Bin 0 -> 799 bytes
 .../camel/component/aws/kms/MSKEndpoint.class      | Bin 0 -> 8731 bytes
 .../camel/component/aws/kms/MSKOperations.class    | Bin 0 -> 1146 bytes
 .../camel/component/aws/kms/MSKProducer.class      | Bin 0 -> 5348 bytes
 .../component/aws/kms/AmazonMKSClientMock.class    | Bin 0 -> 775 bytes
 .../component/aws/kms/KMSProducerSpringTest.class  | Bin 0 -> 9622 bytes
 .../camel/component/aws/kms/KMSProducerTest.class  | Bin 0 -> 9526 bytes
 .../aws/kms/MSKComponentConfigurationTest.class    | Bin 0 -> 2491 bytes
 .../kms/MSKComponentVerifierExtensionTest.class    | Bin 0 -> 3883 bytes
 .../bin/src/test/resources/log4j2.properties       |  28 ++++
 .../aws/kms/KMSComponentSpringTest-context.xml     |  60 +++++++
 components/camel-aws-msk/pom.xml                   |  81 +++++++++
 .../src/main/docs/aws-kms-component.adoc           | 182 +++++++++++++++++++++
 .../camel/component/aws/msk/MSKComponent.java      | 121 ++++++++++++++
 .../aws/msk/MSKComponentVerifierExtension.java     |  89 ++++++++++
 .../camel/component/aws/msk/MSKConfiguration.java  | 137 ++++++++++++++++
 .../camel/component/aws/msk/MSKConstants.java      |  30 ++++
 .../camel/component/aws/msk/MSKEndpoint.java       | 121 ++++++++++++++
 .../camel/component/aws/msk/MSKOperations.java     |  24 +++
 .../camel/component/aws/msk/MSKProducer.java       | 170 +++++++++++++++++++
 .../component/aws/msk/AmazonMSKClientMock.java     |  65 ++++++++
 .../aws/msk/MSKComponentConfigurationTest.java     |  53 ++++++
 .../aws/msk/MSKComponentVerifierExtensionTest.java |  74 +++++++++
 .../component/aws/msk/MSKProducerSpringTest.java   | 104 ++++++++++++
 .../camel/component/aws/msk/MSKProducerTest.java   | 129 +++++++++++++++
 .../src/test/resources/log4j2.properties           |  28 ++++
 .../aws/msk/MSKComponentSpringTest-context.xml     |  47 ++++++
 platforms/spring-boot/components-starter/pom.xml   |   1 +
 33 files changed, 1807 insertions(+)

diff --git a/components/camel-aws-msk/bin/pom.xml b/components/camel-aws-msk/bin/pom.xml
new file mode 100644
index 0000000..c29ca1d
--- /dev/null
+++ b/components/camel-aws-msk/bin/pom.xml
@@ -0,0 +1,81 @@
+<?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.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>camel-aws-msk</artifactId>
+    <packaging>jar</packaging>
+
+    <name>Camel :: AWS MSK</name>
+    <description>A Camel Amazon MSK Web Service Component</description>
+
+    <properties>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-support</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.amazonaws</groupId>
+            <artifactId>aws-java-sdk-kafka</artifactId>
+            <version>${aws-java-sdk-version}</version>
+        </dependency>
+
+        <!-- for testing -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test-spring</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-api</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-slf4j-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc b/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc
new file mode 100644
index 0000000..77f8a26
--- /dev/null
+++ b/components/camel-aws-msk/bin/src/main/docs/aws-kms-component.adoc
@@ -0,0 +1,182 @@
+[[aws-kms-component]]
+== AWS KMS Component
+
+*Available as of Camel version 2.21*
+
+The KMS component supports create, run, start, stop and terminate
+https://aws.amazon.com/it/kms/[AWS KMS] instances.
+
+Prerequisites
+
+You must have a valid Amazon Web Services developer account, and be
+signed up to use Amazon KMS. More information are available at
+https://aws.amazon.com/it/mq/[Amazon KMS].
+
+### URI Format
+
+[source,java]
+-------------------------
+aws-kms://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 KMS component supports 5 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *configuration* (advanced) | The AWS KMS default configuration |  | KMSConfiguration
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
+|===
+// component options: END
+
+
+
+
+// endpoint options: START
+The AWS KMS endpoint is configured using URI syntax:
+
+----
+aws-kms: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 (8 parameters):
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *kmsClient* (producer) | To use a existing configured AWS KMS as client |  | AWSKMS
+| *operation* (producer) | *Required* The operation to perform |  | KMSOperations
+| *proxyHost* (producer) | To define a proxy host when instantiating the KMS client |  | String
+| *proxyPort* (producer) | To define a proxy port when instantiating the KMS client |  | Integer
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
+|===
+// endpoint options: END
+// spring-boot-auto-configure options: START
+=== Spring Boot Auto-Configuration
+
+When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-aws-kms-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 12 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.aws-kms.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-kms.configuration.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-kms.configuration.kms-client* | To use a existing configured AWS KMS as client |  | AWSKMS
+| *camel.component.aws-kms.configuration.operation* | The operation to perform |  | KMSOperations
+| *camel.component.aws-kms.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
+| *camel.component.aws-kms.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
+| *camel.component.aws-kms.configuration.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-kms.configuration.secret-key* | Amazon AWS Secret Key |  | String
+| *camel.component.aws-kms.enabled* | Whether to enable auto configuration of the aws-kms component. This is enabled by default. |  | Boolean
+| *camel.component.aws-kms.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-kms.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
+| *camel.component.aws-kms.secret-key* | Amazon AWS Secret Key |  | String
+|===
+// spring-boot-auto-configure options: END
+
+
+
+
+Required KMS component options
+
+You have to provide the amazonKmsClient in the
+Registry or your accessKey and secretKey to access
+the https://aws.amazon.com/it/kms/[Amazon KMS] service.
+
+### Usage
+
+#### Message headers evaluated by the MQ producer
+
+[width="100%",cols="10%,10%,80%",options="header",]
+|=======================================================================
+|Header |Type |Description
+
+|`CamelAwsKMSLimit` |`Integer` |The limit number of keys to return while performing a listKeys operation
+
+|`CamelAwsKMSOperation` |`String` |The operation we want to perform
+
+|`CamelAwsKMSDescription` |`String` |A key description to use while performing a createKey operation
+
+|`CamelAwsKMSKeyId` |`String` |The key Id 
+|=======================================================================
+
+#### KMS Producer operations
+
+Camel-AWS KMS component provides the following operation on the producer side:
+
+- listKeys
+- createKey
+- disableKey
+- scheduleKeyDeletion
+- describeKey
+- enableKey
+
+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-kms</artifactId>
+    <version>${camel-version}</version>
+</dependency>
+---------------------------------------
+
+where `${camel-version`} must be replaced by the actual version of Camel
+(2.16 or higher).
+
+### See Also
+
+* Configuring Camel
+* Component
+* Endpoint
+* Getting Started
+
+* AWS Component
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class
new file mode 100644
index 0000000..c7d4963
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponent.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class
new file mode 100644
index 0000000..144ae2e
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtension.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class
new file mode 100644
index 0000000..dbf1478
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConfiguration.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class
new file mode 100644
index 0000000..fb77aaf
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKConstants.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class
new file mode 100644
index 0000000..7fd6129
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKEndpoint.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class
new file mode 100644
index 0000000..16ec708
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKOperations.class differ
diff --git a/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class
new file mode 100644
index 0000000..6c8b42e
Binary files /dev/null and b/components/camel-aws-msk/bin/src/main/java/org/apache/camel/component/aws/kms/MSKProducer.class differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class
new file mode 100644
index 0000000..2a5517c
Binary files /dev/null and b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/AmazonMKSClientMock.class differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class
new file mode 100644
index 0000000..5a6a3fe
Binary files /dev/null and b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerSpringTest.class differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class
new file mode 100644
index 0000000..50605ab
Binary files /dev/null and b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/KMSProducerTest.class differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class
new file mode 100644
index 0000000..0e6e223
Binary files /dev/null and b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentConfigurationTest.class differ
diff --git a/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class
new file mode 100644
index 0000000..e161b81
Binary files /dev/null and b/components/camel-aws-msk/bin/src/test/java/org/apache/camel/component/aws/kms/MSKComponentVerifierExtensionTest.class differ
diff --git a/components/camel-aws-msk/bin/src/test/resources/log4j2.properties b/components/camel-aws-msk/bin/src/test/resources/log4j2.properties
new file mode 100644
index 0000000..986f470
--- /dev/null
+++ b/components/camel-aws-msk/bin/src/test/resources/log4j2.properties
@@ -0,0 +1,28 @@
+## ---------------------------------------------------------------------------
+## 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-kms-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-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml b/components/camel-aws-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml
new file mode 100644
index 0000000..42eccfd
--- /dev/null
+++ b/components/camel-aws-msk/bin/src/test/resources/org/apache/camel/component/aws/kms/KMSComponentSpringTest-context.xml
@@ -0,0 +1,60 @@
+<?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:listKeys"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=listKeys"/>
+            <to uri="mock:result"/>
+        </route>
+        <route>
+            <from uri="direct:createKey"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=createKey"/>
+            <to uri="mock:result"/>
+        </route>
+        <route>
+            <from uri="direct:disableKey"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=disableKey"/>
+            <to uri="mock:result"/>
+        </route>
+        <route>
+            <from uri="direct:enableKey"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=enableKey"/>
+            <to uri="mock:result"/>
+        </route>
+        <route>
+            <from uri="direct:scheduleDelete"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=scheduleKeyDeletion"/>
+            <to uri="mock:result"/>
+        </route>
+        <route>
+            <from uri="direct:describeKey"/>
+            <to uri="aws-kms://Test?kmsClient=#amazonKmsClient&amp;operation=describeKey"/>
+            <to uri="mock:result"/>
+        </route>
+    </camelContext>
+
+    <bean id="amazonKmsClient" class="org.apache.camel.component.aws.kms.AmazonKMSClientMock"/>
+</beans>
\ No newline at end of file
diff --git a/components/camel-aws-msk/pom.xml b/components/camel-aws-msk/pom.xml
new file mode 100644
index 0000000..c29ca1d
--- /dev/null
+++ b/components/camel-aws-msk/pom.xml
@@ -0,0 +1,81 @@
+<?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.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>camel-aws-msk</artifactId>
+    <packaging>jar</packaging>
+
+    <name>Camel :: AWS MSK</name>
+    <description>A Camel Amazon MSK Web Service Component</description>
+
+    <properties>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-support</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.amazonaws</groupId>
+            <artifactId>aws-java-sdk-kafka</artifactId>
+            <version>${aws-java-sdk-version}</version>
+        </dependency>
+
+        <!-- for testing -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test-spring</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-api</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-slf4j-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc b/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc
new file mode 100644
index 0000000..77f8a26
--- /dev/null
+++ b/components/camel-aws-msk/src/main/docs/aws-kms-component.adoc
@@ -0,0 +1,182 @@
+[[aws-kms-component]]
+== AWS KMS Component
+
+*Available as of Camel version 2.21*
+
+The KMS component supports create, run, start, stop and terminate
+https://aws.amazon.com/it/kms/[AWS KMS] instances.
+
+Prerequisites
+
+You must have a valid Amazon Web Services developer account, and be
+signed up to use Amazon KMS. More information are available at
+https://aws.amazon.com/it/mq/[Amazon KMS].
+
+### URI Format
+
+[source,java]
+-------------------------
+aws-kms://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 KMS component supports 5 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *configuration* (advanced) | The AWS KMS default configuration |  | KMSConfiguration
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
+|===
+// component options: END
+
+
+
+
+// endpoint options: START
+The AWS KMS endpoint is configured using URI syntax:
+
+----
+aws-kms: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 (8 parameters):
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *kmsClient* (producer) | To use a existing configured AWS KMS as client |  | AWSKMS
+| *operation* (producer) | *Required* The operation to perform |  | KMSOperations
+| *proxyHost* (producer) | To define a proxy host when instantiating the KMS client |  | String
+| *proxyPort* (producer) | To define a proxy port when instantiating the KMS client |  | Integer
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
+|===
+// endpoint options: END
+// spring-boot-auto-configure options: START
+=== Spring Boot Auto-Configuration
+
+When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-aws-kms-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 12 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.aws-kms.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-kms.configuration.access-key* | Amazon AWS Access Key |  | String
+| *camel.component.aws-kms.configuration.kms-client* | To use a existing configured AWS KMS as client |  | AWSKMS
+| *camel.component.aws-kms.configuration.operation* | The operation to perform |  | KMSOperations
+| *camel.component.aws-kms.configuration.proxy-host* | To define a proxy host when instantiating the KMS client |  | String
+| *camel.component.aws-kms.configuration.proxy-port* | To define a proxy port when instantiating the KMS client |  | Integer
+| *camel.component.aws-kms.configuration.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-kms.configuration.secret-key* | Amazon AWS Secret Key |  | String
+| *camel.component.aws-kms.enabled* | Whether to enable auto configuration of the aws-kms component. This is enabled by default. |  | Boolean
+| *camel.component.aws-kms.region* | The region in which KMS client needs to work |  | String
+| *camel.component.aws-kms.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
+| *camel.component.aws-kms.secret-key* | Amazon AWS Secret Key |  | String
+|===
+// spring-boot-auto-configure options: END
+
+
+
+
+Required KMS component options
+
+You have to provide the amazonKmsClient in the
+Registry or your accessKey and secretKey to access
+the https://aws.amazon.com/it/kms/[Amazon KMS] service.
+
+### Usage
+
+#### Message headers evaluated by the MQ producer
+
+[width="100%",cols="10%,10%,80%",options="header",]
+|=======================================================================
+|Header |Type |Description
+
+|`CamelAwsKMSLimit` |`Integer` |The limit number of keys to return while performing a listKeys operation
+
+|`CamelAwsKMSOperation` |`String` |The operation we want to perform
+
+|`CamelAwsKMSDescription` |`String` |A key description to use while performing a createKey operation
+
+|`CamelAwsKMSKeyId` |`String` |The key Id 
+|=======================================================================
+
+#### KMS Producer operations
+
+Camel-AWS KMS component provides the following operation on the producer side:
+
+- listKeys
+- createKey
+- disableKey
+- scheduleKeyDeletion
+- describeKey
+- enableKey
+
+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-kms</artifactId>
+    <version>${camel-version}</version>
+</dependency>
+---------------------------------------
+
+where `${camel-version`} must be replaced by the actual version of Camel
+(2.16 or higher).
+
+### See Also
+
+* Configuring Camel
+* Component
+* Endpoint
+* Getting Started
+
+* AWS Component
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponent.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponent.java
new file mode 100644
index 0000000..5b6086a
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponent.java
@@ -0,0 +1,121 @@
+/**
+ * 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.msk;
+
+import java.util.Map;
+
+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;
+import org.apache.camel.util.ObjectHelper;
+
+/**
+ * For working with Amazon KMS.
+ */
+@Component("aws-msk")
+public class MSKComponent extends DefaultComponent {
+
+    @Metadata
+    private String accessKey;
+    @Metadata
+    private String secretKey;
+    @Metadata
+    private String region;
+    @Metadata(label = "advanced")    
+    private MSKConfiguration configuration;
+    
+    public MSKComponent() {
+        this(null);
+    }
+    
+    public MSKComponent(CamelContext context) {
+        super(context);
+        
+        this.configuration = new MSKConfiguration();
+        registerExtension(new MSKComponentVerifierExtension());
+    }
+
+    @Override
+    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
+        MSKConfiguration configuration = this.configuration.copy();
+        setProperties(configuration, parameters);
+
+        if (ObjectHelper.isEmpty(configuration.getAccessKey())) {
+            setAccessKey(accessKey);
+        }
+        if (ObjectHelper.isEmpty(configuration.getSecretKey())) {
+            setSecretKey(secretKey);
+        }
+        if (ObjectHelper.isEmpty(configuration.getRegion())) {
+            setRegion(region);
+        }
+        if (configuration.getMskClient() == null && (configuration.getAccessKey() == null || configuration.getSecretKey() == null)) {
+            throw new IllegalArgumentException("Amazon msk client or accessKey and secretKey must be specified");
+        }
+        
+        MSKEndpoint endpoint = new MSKEndpoint(uri, this, configuration);
+        return endpoint;
+    }
+    
+    public MSKConfiguration getConfiguration() {
+        return configuration;
+    }
+
+    /**
+     * The AWS KMS default configuration
+     */
+    public void setConfiguration(MSKConfiguration configuration) {
+        this.configuration = configuration;
+    }
+
+    public String getAccessKey() {
+        return configuration.getAccessKey();
+    }
+
+    /**
+     * Amazon AWS Access Key
+     */
+    public void setAccessKey(String accessKey) {
+        configuration.setAccessKey(accessKey);
+    }
+
+    public String getSecretKey() {
+        return configuration.getSecretKey();
+    }
+
+    /**
+     * Amazon AWS Secret Key
+     */
+    public void setSecretKey(String secretKey) {
+        configuration.setSecretKey(secretKey);
+    }
+    
+    public String getRegion() {
+        return configuration.getRegion();
+    }
+
+    /**
+     * The region in which KMS client needs to work
+     */
+    public void setRegion(String region) {
+        configuration.setRegion(region);
+    }
+
+}
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtension.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtension.java
new file mode 100644
index 0000000..bf1fa3b
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtension.java
@@ -0,0 +1,89 @@
+/**
+ * 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.msk;
+
+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.kafka.AWSKafka;
+import com.amazonaws.services.kafka.AWSKafkaClientBuilder;
+import com.amazonaws.services.kafka.model.ListClustersRequest;
+
+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 MSKComponentVerifierExtension extends DefaultComponentVerifierExtension {
+
+    public MSKComponentVerifierExtension() {
+        this("aws-msk");
+    }
+
+    public MSKComponentVerifierExtension(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 {
+            MSKConfiguration configuration = setProperties(new MSKConfiguration(), parameters);
+            AWSCredentials credentials = new BasicAWSCredentials(configuration.getAccessKey(), configuration.getSecretKey());
+            AWSCredentialsProvider credentialsProvider = new AWSStaticCredentialsProvider(credentials);
+            ListClustersRequest request = new ListClustersRequest();
+            AWSKafka client = AWSKafkaClientBuilder.standard().withCredentials(credentialsProvider).withRegion(Regions.valueOf(configuration.getRegion())).build();
+            client.listClusters(request);
+        } catch (SdkClientException e) {
+            ResultErrorBuilder errorBuilder = ResultErrorBuilder.withCodeAndDescription(VerificationError.StandardCode.AUTHENTICATION, e.getMessage())
+                .detail("aws_mks_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-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
new file mode 100644
index 0000000..93e86bd
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConfiguration.java
@@ -0,0 +1,137 @@
+/**
+ * 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.msk;
+
+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;
+
+import com.amazonaws.services.kafka.AWSKafka;
+
+@UriParams
+public class MSKConfiguration implements Cloneable {
+
+    @UriPath(description = "Logical name")
+    @Metadata(required = true)
+    private String label;
+    @UriParam(label = "producer")
+    private AWSKafka mskClient;
+    @UriParam(label = "producer", secret = true)
+    private String accessKey;
+    @UriParam(label = "producer", secret = true)
+    private String secretKey;
+    @UriParam(label = "producer")
+    @Metadata(required = true)
+    private MSKOperations operation;
+    @UriParam(label = "producer")
+    private String proxyHost;
+    @UriParam(label = "producer")
+    private Integer proxyPort;
+    @UriParam
+    private String region;
+
+    public AWSKafka getMskClient() {
+        return mskClient;
+    }
+
+    /**
+     * To use a existing configured AWS MSK as client
+     */
+    public void setMskClient(AWSKafka mskClient) {
+        this.mskClient = mskClient;
+    }
+
+    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 MSKOperations getOperation() {
+        return operation;
+    }
+
+    /**
+     * The operation to perform
+     */
+    public void setOperation(MSKOperations operation) {
+        this.operation = operation;
+    }
+
+    public String getProxyHost() {
+        return proxyHost;
+    }
+
+    /**
+     * To define a proxy host when instantiating the KMS client
+     */
+    public void setProxyHost(String proxyHost) {
+        this.proxyHost = proxyHost;
+    }
+
+    public Integer getProxyPort() {
+        return proxyPort;
+    }
+
+    /**
+     * To define a proxy port when instantiating the KMS client
+     */
+    public void setProxyPort(Integer proxyPort) {
+        this.proxyPort = proxyPort;
+    }
+
+    public String getRegion() {
+        return region;
+    }
+
+    /**
+     * The region in which KMS client needs to work
+     */
+    public void setRegion(String region) {
+        this.region = region;
+    }
+
+    // *************************************************
+    //
+    // *************************************************
+
+    public MSKConfiguration copy() {
+        try {
+            return (MSKConfiguration)super.clone();
+        } catch (CloneNotSupportedException e) {
+            throw new RuntimeCamelException(e);
+        }
+    }
+}
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConstants.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConstants.java
new file mode 100644
index 0000000..5f2c1e5
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKConstants.java
@@ -0,0 +1,30 @@
+/**
+ * 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.msk;
+
+/**
+ * Constants used in Camel AWS MSK module
+ */
+public interface MSKConstants {
+    String OPERATION                         = "CamelAwsMSKOperation";
+    String CLUSTERS_FILTER                   = "CamelAwsMSKClusterFilter";
+    String CLUSTER_NAME                      = "CamelAwsMSKClusterName";
+    String CLUSTER_ARN                       = "CamelAwsMSKClusterArn";
+    String CLUSTER_KAFKA_VERSION             = "CamelAwsMSKClusterKafkaVersion";
+    String BROKER_NODES_NUMBER               = "CamelAwsMSKBrokerNodesNumber";
+    String BROKER_NODES_GROUP_INFO           = "CamelAwsMSKBrokerNodesGroupInfo";
+}
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKEndpoint.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKEndpoint.java
new file mode 100644
index 0000000..f49ab3f
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKEndpoint.java
@@ -0,0 +1,121 @@
+/**
+ * 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.msk;
+
+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.services.kafka.AWSKafka;
+import com.amazonaws.services.kafka.AWSKafkaClientBuilder;
+
+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;
+
+/**
+ * The aws-kms is used for managing Amazon KMS
+ */
+@UriEndpoint(firstVersion = "3.0.0", scheme = "aws-msk", title = "AWS MSK", syntax = "aws-msk:label", producerOnly = true, label = "cloud,management")
+public class MSKEndpoint extends ScheduledPollEndpoint {
+
+    private AWSKafka mskClient;
+
+    @UriParam
+    private MSKConfiguration configuration;
+
+    public MSKEndpoint(String uri, Component component, MSKConfiguration configuration) {
+        super(uri, component);
+        this.configuration = configuration;
+    }
+
+    public Consumer createConsumer(Processor processor) throws Exception {
+        throw new UnsupportedOperationException("You cannot receive messages from this endpoint");
+    }
+
+    public Producer createProducer() throws Exception {
+        return new MSKProducer(this);
+    }
+
+    public boolean isSingleton() {
+        return true;
+    }
+
+    @Override
+    public void doStart() throws Exception {
+        super.doStart();
+
+        mskClient = configuration.getMskClient() != null ? configuration.getMskClient() : createMSKClient();
+    }
+    
+    @Override
+    public void doStop() throws Exception {
+        if (ObjectHelper.isEmpty(configuration.getMskClient())) {
+            if (mskClient != null) {
+                mskClient.shutdown();
+            }
+        }
+        super.doStop();
+    }
+
+    public MSKConfiguration getConfiguration() {
+        return configuration;
+    }
+
+    public AWSKafka getMskClient() {
+        return mskClient;
+    }
+
+    AWSKafka createMSKClient() {
+        AWSKafka client = null;
+        ClientConfiguration clientConfiguration = null;
+        AWSKafkaClientBuilder clientBuilder = null;
+        boolean isClientConfigFound = false;
+        if (ObjectHelper.isNotEmpty(configuration.getProxyHost()) && ObjectHelper.isNotEmpty(configuration.getProxyPort())) {
+            clientConfiguration = new ClientConfiguration();
+            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 = AWSKafkaClientBuilder.standard().withClientConfiguration(clientConfiguration).withCredentials(credentialsProvider);
+            } else {
+                clientBuilder = AWSKafkaClientBuilder.standard().withCredentials(credentialsProvider);
+            }
+        } else {
+            if (isClientConfigFound) {
+                clientBuilder = AWSKafkaClientBuilder.standard();
+            } else {
+                clientBuilder = AWSKafkaClientBuilder.standard().withClientConfiguration(clientConfiguration);
+            }
+        }
+        if (ObjectHelper.isNotEmpty(configuration.getRegion())) {
+            clientBuilder = clientBuilder.withRegion(configuration.getRegion());
+        }
+        client = clientBuilder.build();
+        return client;
+    }
+}
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKOperations.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKOperations.java
new file mode 100644
index 0000000..a06b4e7
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKOperations.java
@@ -0,0 +1,24 @@
+/**
+ * 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.msk;
+
+public enum MSKOperations {
+
+    listClusters,
+    createCluster,
+    deleteCluster
+}
diff --git a/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
new file mode 100644
index 0000000..b59b9e1
--- /dev/null
+++ b/components/camel-aws-msk/src/main/java/org/apache/camel/component/aws/msk/MSKProducer.java
@@ -0,0 +1,170 @@
+/**
+ * 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.msk;
+
+import com.amazonaws.AmazonServiceException;
+import com.amazonaws.services.kafka.AWSKafka;
+import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
+import com.amazonaws.services.kafka.model.CreateClusterRequest;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterRequest;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersRequest;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
+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;
+
+/**
+ * A Producer which sends messages to the Amazon MSK Service
+ * <a href="http://aws.amazon.com/msk/">AWS MSK</a>
+ */
+public class MSKProducer extends DefaultProducer {
+
+    private transient String mskProducerToString;
+
+    public MSKProducer(Endpoint endpoint) {
+        super(endpoint);
+    }
+
+    public void process(Exchange exchange) throws Exception {
+        switch (determineOperation(exchange)) {
+        case listClusters:
+            listClusters(getEndpoint().getMskClient(), exchange);
+            break;
+        case createCluster:
+            createCluster(getEndpoint().getMskClient(), exchange);
+            break;
+        case deleteCluster:
+            deleteCluster(getEndpoint().getMskClient(), exchange);
+            break;
+        default:
+            throw new IllegalArgumentException("Unsupported operation");
+        }
+    }
+
+    private MSKOperations determineOperation(Exchange exchange) {
+        MSKOperations operation = exchange.getIn().getHeader(MSKConstants.OPERATION, MSKOperations.class);
+        if (operation == null) {
+            operation = getConfiguration().getOperation();
+        }
+        return operation;
+    }
+
+    protected MSKConfiguration getConfiguration() {
+        return getEndpoint().getConfiguration();
+    }
+
+    @Override
+    public String toString() {
+        if (mskProducerToString == null) {
+            mskProducerToString = "MSKProducer[" + URISupport.sanitizeUri(getEndpoint().getEndpointUri()) + "]";
+        }
+        return mskProducerToString;
+    }
+
+    @Override
+    public MSKEndpoint getEndpoint() {
+        return (MSKEndpoint)super.getEndpoint();
+    }
+
+    private void listClusters(AWSKafka mskClient, Exchange exchange) {
+        ListClustersRequest request = new ListClustersRequest();
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTERS_FILTER))) {
+            String filter = exchange.getIn().getHeader(MSKConstants.CLUSTERS_FILTER, String.class);
+            request.withClusterNameFilter(filter);
+        }
+        ListClustersResult result;
+        try {
+            result = mskClient.listClusters(request);
+        } catch (AmazonServiceException ase) {
+            log.trace("List Clusters command returned the error code {}", ase.getErrorCode());
+            throw ase;
+        }
+        Message message = getMessageForResponse(exchange);
+        message.setBody(result);
+    }
+    
+    private void createCluster(AWSKafka mskClient, Exchange exchange) {
+        CreateClusterRequest request = new CreateClusterRequest();
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTER_NAME))) {
+            String name = exchange.getIn().getHeader(MSKConstants.CLUSTER_NAME, String.class);
+            request.withClusterName(name);
+        } else {
+            throw new IllegalArgumentException("Cluster Name must be specified");
+        }
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTER_KAFKA_VERSION))) {
+            String version = exchange.getIn().getHeader(MSKConstants.CLUSTER_KAFKA_VERSION, String.class);
+            request.withKafkaVersion(version);
+        } else {
+            throw new IllegalArgumentException("Kafka Version must be specified");
+        }
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.BROKER_NODES_NUMBER))) {
+            Integer nodesNumber = exchange.getIn().getHeader(MSKConstants.BROKER_NODES_NUMBER, Integer.class);
+            request.withNumberOfBrokerNodes(nodesNumber);
+        } else {
+            throw new IllegalArgumentException("Kafka Version must be specified");
+        }
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.BROKER_NODES_GROUP_INFO))) {
+        	BrokerNodeGroupInfo brokerNodesGroupInfo = exchange.getIn().getHeader(MSKConstants.BROKER_NODES_GROUP_INFO, BrokerNodeGroupInfo.class);
+			request.withBrokerNodeGroupInfo(brokerNodesGroupInfo);
+        } else {
+            throw new IllegalArgumentException("BrokerNodeGroupInfo must be specified");
+        }
+        CreateClusterResult result;
+        try {
+            result = mskClient.createCluster(request);
+        } catch (AmazonServiceException ase) {
+            log.trace("Create Cluster command returned the error code {}", ase.getErrorCode());
+            throw ase;
+        }
+        Message message = getMessageForResponse(exchange);
+        message.setBody(result);
+    }
+    
+    private void deleteCluster(AWSKafka mskClient, Exchange exchange) {
+        DeleteClusterRequest request = new DeleteClusterRequest();
+        if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(MSKConstants.CLUSTER_ARN))) {
+            String arn = exchange.getIn().getHeader(MSKConstants.CLUSTER_ARN, String.class);
+            request.withClusterArn(arn);
+        } else {
+            throw new IllegalArgumentException("Cluster ARN must be specified");
+        }
+        DeleteClusterResult result;
+        try {
+            result = mskClient.deleteCluster(request);
+        } catch (AmazonServiceException ase) {
+            log.trace("Delete Cluster command returned the error code {}", ase.getErrorCode());
+            throw ase;
+        }
+        Message message = getMessageForResponse(exchange);
+        message.setBody(result);
+    }
+    
+    public static Message getMessageForResponse(final Exchange exchange) {
+        if (exchange.getPattern().isOutCapable()) {
+            Message out = exchange.getOut();
+            out.copyFrom(exchange.getIn());
+            return out;
+        }
+        return exchange.getIn();
+    }
+}
\ No newline at end of file
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
new file mode 100644
index 0000000..b70c979
--- /dev/null
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/AmazonMSKClientMock.java
@@ -0,0 +1,65 @@
+/**
+ * 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.msk;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.amazonaws.services.kafka.AbstractAWSKafka;
+import com.amazonaws.services.kafka.model.ClusterInfo;
+import com.amazonaws.services.kafka.model.ClusterState;
+import com.amazonaws.services.kafka.model.CreateClusterRequest;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterRequest;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersRequest;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
+
+public class AmazonMSKClientMock extends AbstractAWSKafka {
+
+    public AmazonMSKClientMock() {
+        super();
+    }
+
+    @Override
+    public ListClustersResult listClusters(ListClustersRequest request) {
+        ListClustersResult result = new ListClustersResult();
+        List<ClusterInfo> info = new ArrayList<ClusterInfo>();
+        ClusterInfo info1 = new ClusterInfo();
+        info1.setClusterName("test-kafka");
+        info.add(info1);
+        result.setClusterInfoList(info);
+        return result;
+    }
+    
+    @Override
+    public CreateClusterResult createCluster(CreateClusterRequest request) {
+        CreateClusterResult result = new CreateClusterResult();
+        result.setClusterName(request.getClusterName());
+        result.setState(ClusterState.CREATING.name());
+        return result;
+    }
+    
+    @Override
+    public DeleteClusterResult deleteCluster(DeleteClusterRequest request) {
+         DeleteClusterResult res = new DeleteClusterResult();
+         res.setClusterArn(request.getClusterArn());
+         res.setState(ClusterState.DELETING.name());
+         return res;
+    }
+}
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
new file mode 100644
index 0000000..ec81a5e
--- /dev/null
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentConfigurationTest.java
@@ -0,0 +1,53 @@
+/**
+ * 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.msk;
+
+import com.amazonaws.regions.Regions;
+
+import org.apache.camel.component.aws.msk.MSKComponent;
+import org.apache.camel.component.aws.msk.MSKEndpoint;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Test;
+
+public class MSKComponentConfigurationTest extends CamelTestSupport {
+
+    
+    @Test
+    public void createEndpointWithComponentElements() throws Exception {
+        MSKComponent component = new MSKComponent(context);
+        component.setAccessKey("XXX");
+        component.setSecretKey("YYY");
+        MSKEndpoint endpoint = (MSKEndpoint)component.createEndpoint("aws-msk://label");
+        
+        assertEquals("XXX", endpoint.getConfiguration().getAccessKey());
+        assertEquals("YYY", endpoint.getConfiguration().getSecretKey());
+    }
+    
+    @Test
+    public void createEndpointWithComponentAndEndpointElements() throws Exception {
+        MSKComponent component = new MSKComponent(context);
+        component.setAccessKey("XXX");
+        component.setSecretKey("YYY");
+        component.setRegion(Regions.US_WEST_1.toString());
+        MSKEndpoint endpoint = (MSKEndpoint)component.createEndpoint("aws-msk://label?accessKey=xxxxxx&secretKey=yyyyy&region=US_EAST_1");
+        
+        assertEquals("xxxxxx", endpoint.getConfiguration().getAccessKey());
+        assertEquals("yyyyy", endpoint.getConfiguration().getSecretKey());
+        assertEquals("US_EAST_1", endpoint.getConfiguration().getRegion());
+    }
+    
+}
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
new file mode 100644
index 0000000..cf57117
--- /dev/null
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKComponentVerifierExtensionTest.java
@@ -0,0 +1,74 @@
+/**
+ * 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.msk;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.camel.Component;
+import org.apache.camel.component.aws.msk.MSKOperations;
+import org.apache.camel.component.extension.ComponentVerifierExtension;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class MSKComponentVerifierExtensionTest extends CamelTestSupport {
+
+    // *************************************************
+    // Tests (parameters)
+    // *************************************************
+    @Override
+    public boolean isUseRouteBuilder() {
+        return false;
+    }
+
+    @Test
+    public void testParameters() throws Exception {
+        Component component = context().getComponent("aws-msk");
+
+        ComponentVerifierExtension verifier = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
+
+        Map<String, Object> parameters = new HashMap<>();
+        parameters.put("secretKey", "l");
+        parameters.put("accessKey", "k");
+        parameters.put("region", "l");
+        parameters.put("label", "test");
+        parameters.put("operation", MSKOperations.listClusters);
+
+        ComponentVerifierExtension.Result result = verifier.verify(ComponentVerifierExtension.Scope.PARAMETERS, parameters);
+
+        Assert.assertEquals(ComponentVerifierExtension.Result.Status.OK, result.getStatus());
+    }
+
+    @Test
+    public void testConnectivity() throws Exception {
+        Component component = context().getComponent("aws-msk");
+        ComponentVerifierExtension verifier = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
+
+        Map<String, Object> parameters = new HashMap<>();
+        parameters.put("secretKey", "l");
+        parameters.put("accessKey", "k");
+        parameters.put("region", "US_EAST_1");
+        parameters.put("label", "test");
+        parameters.put("operation", MSKOperations.listClusters);
+
+        ComponentVerifierExtension.Result result = verifier.verify(ComponentVerifierExtension.Scope.CONNECTIVITY, parameters);
+
+        Assert.assertEquals(ComponentVerifierExtension.Result.Status.ERROR, result.getStatus());
+    }
+
+}
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
new file mode 100644
index 0000000..50a26f2
--- /dev/null
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerSpringTest.java
@@ -0,0 +1,104 @@
+/**
+ * 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.msk;
+
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
+import org.apache.camel.component.aws.msk.MSKConstants;
+import org.apache.camel.component.aws.msk.MSKOperations;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.test.spring.CamelSpringTestSupport;
+import org.junit.Test;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+
+import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
+import com.amazonaws.services.kafka.model.ClusterState;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
+public class MSKProducerSpringTest extends CamelSpringTestSupport {
+    
+    @EndpointInject(uri = "mock:result")
+    private MockEndpoint mock;
+    
+    @Test
+    public void kmsListKeysTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:listClusters", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.listClusters);
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        ListClustersResult resultGet = (ListClustersResult) exchange.getIn().getBody();
+        assertEquals(1, resultGet.getClusterInfoList().size());
+        assertEquals("test-kafka", resultGet.getClusterInfoList().get(0).getClusterName());
+    }
+    
+    @Test
+    public void mskCreateClusterTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:createCluster", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.createCluster);
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_NAME, "test-kafka");
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_KAFKA_VERSION, "2.1.1");
+                exchange.getIn().setHeader(MSKConstants.BROKER_NODES_NUMBER, 2);
+                BrokerNodeGroupInfo groupInfo = new BrokerNodeGroupInfo();
+                exchange.getIn().setHeader(MSKConstants.BROKER_NODES_GROUP_INFO, groupInfo);
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        CreateClusterResult resultGet = (CreateClusterResult) exchange.getIn().getBody();
+        assertEquals("test-kafka", resultGet.getClusterName());
+        assertEquals(ClusterState.CREATING.name(), resultGet.getState());
+    }
+    
+    @Test
+    public void mskDeleteClusterTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:deleteCluster", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.deleteCluster);
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_ARN, "test-kafka");
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        DeleteClusterResult resultGet = (DeleteClusterResult) exchange.getIn().getBody();
+        assertEquals("test-kafka", resultGet.getClusterArn());
+        assertEquals(ClusterState.DELETING.name(), resultGet.getState());
+    }
+
+    @Override
+    protected ClassPathXmlApplicationContext createApplicationContext() {
+        return new ClassPathXmlApplicationContext("org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml");
+    }
+}
\ No newline at end of file
diff --git a/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
new file mode 100644
index 0000000..23d3ada
--- /dev/null
+++ b/components/camel-aws-msk/src/test/java/org/apache/camel/component/aws/msk/MSKProducerTest.java
@@ -0,0 +1,129 @@
+/**
+ * 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.msk;
+
+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.msk.MSKConstants;
+import org.apache.camel.component.aws.msk.MSKOperations;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.impl.JndiRegistry;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Test;
+
+import com.amazonaws.services.kafka.model.BrokerNodeGroupInfo;
+import com.amazonaws.services.kafka.model.ClusterState;
+import com.amazonaws.services.kafka.model.CreateClusterResult;
+import com.amazonaws.services.kafka.model.DeleteClusterResult;
+import com.amazonaws.services.kafka.model.ListClustersResult;
+
+public class MSKProducerTest extends CamelTestSupport {
+    
+    @EndpointInject(uri = "mock:result")
+    private MockEndpoint mock;
+    
+    @Test
+    public void kmsListClustersTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:listClusters", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.listClusters);
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        ListClustersResult resultGet = (ListClustersResult) exchange.getIn().getBody();
+        assertEquals(1, resultGet.getClusterInfoList().size());
+        assertEquals("test-kafka", resultGet.getClusterInfoList().get(0).getClusterName());
+    }
+    
+    @Test
+    public void mskCreateClusterTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:createCluster", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.createCluster);
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_NAME, "test-kafka");
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_KAFKA_VERSION, "2.1.1");
+                exchange.getIn().setHeader(MSKConstants.BROKER_NODES_NUMBER, 2);
+                BrokerNodeGroupInfo groupInfo = new BrokerNodeGroupInfo();
+                exchange.getIn().setHeader(MSKConstants.BROKER_NODES_GROUP_INFO, groupInfo);
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        CreateClusterResult resultGet = (CreateClusterResult) exchange.getIn().getBody();
+        assertEquals("test-kafka", resultGet.getClusterName());
+        assertEquals(ClusterState.CREATING.name(), resultGet.getState());
+    }
+    
+    @Test
+    public void mskDeleteClusterTest() throws Exception {
+
+        mock.expectedMessageCount(1);
+        Exchange exchange = template.request("direct:deleteCluster", new Processor() {
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                exchange.getIn().setHeader(MSKConstants.OPERATION, MSKOperations.deleteCluster);
+                exchange.getIn().setHeader(MSKConstants.CLUSTER_ARN, "test-kafka");
+            }
+        });
+
+        assertMockEndpointsSatisfied();
+        
+        DeleteClusterResult resultGet = (DeleteClusterResult) exchange.getIn().getBody();
+        assertEquals("test-kafka", resultGet.getClusterArn());
+        assertEquals(ClusterState.DELETING.name(), resultGet.getState());
+    }
+    
+    @Override
+    protected JndiRegistry createRegistry() throws Exception {
+        JndiRegistry registry = super.createRegistry();
+        
+        AmazonMSKClientMock clientMock = new AmazonMSKClientMock();
+        
+        registry.bind("amazonMskClient", clientMock);
+        
+        return registry;
+    }
+
+    @Override
+    protected RouteBuilder createRouteBuilder() throws Exception {
+        return new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:listClusters")
+                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=listClusters")
+                    .to("mock:result");
+                from("direct:createCluster")
+                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=createCluster")
+                    .to("mock:result");
+                from("direct:deleteCluster")
+                    .to("aws-msk://test?mskClient=#amazonMskClient&operation=deleteCluster")
+                    .to("mock:result");
+            }
+        };
+    }
+}
\ No newline at end of file
diff --git a/components/camel-aws-msk/src/test/resources/log4j2.properties b/components/camel-aws-msk/src/test/resources/log4j2.properties
new file mode 100644
index 0000000..986f470
--- /dev/null
+++ b/components/camel-aws-msk/src/test/resources/log4j2.properties
@@ -0,0 +1,28 @@
+## ---------------------------------------------------------------------------
+## 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-kms-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-msk/src/test/resources/org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml b/components/camel-aws-msk/src/test/resources/org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml
new file mode 100644
index 0000000..af87975
--- /dev/null
+++ b/components/camel-aws-msk/src/test/resources/org/apache/camel/component/aws/msk/MSKComponentSpringTest-context.xml
@@ -0,0 +1,47 @@
+<?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:listClusters"/>
+            <to uri="aws-msk://Test?mskClient=#amazonMskClient&amp;operation=listClusters"/>
+            <to uri="mock:result"/>
+        </route>
+
+        <route>
+            <from uri="direct:createCluster"/>
+            <to uri="aws-msk://Test?mskClient=#amazonMskClient&amp;operation=createCluster"/>
+            <to uri="mock:result"/>
+        </route>
+        
+        <route>
+            <from uri="direct:deleteCluster"/>
+            <to uri="aws-msk://Test?mskClient=#amazonMskClient&amp;operation=deleteCluster"/>
+            <to uri="mock:result"/>
+        </route>
+    </camelContext>
+
+    <bean id="amazonMskClient" class="org.apache.camel.component.aws.msk.AmazonMSKClientMock"/>
+</beans>
\ No newline at end of file
diff --git a/platforms/spring-boot/components-starter/pom.xml b/platforms/spring-boot/components-starter/pom.xml
index 2bc538c..a1dde11 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -124,6 +124,7 @@
     <module>camel-aws-kms-starter</module>
     <module>camel-aws-lambda-starter</module>
     <module>camel-aws-mq-starter</module>
+    <module>camel-aws-msk-starter</module>
     <module>camel-aws-s3-starter</module>
     <module>camel-aws-sdb-starter</module>
     <module>camel-aws-ses-starter</module>


[camel] 07/11: CAMEL-13165 - Docs updated

Posted by ac...@apache.org.
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 fc41b4d4dd475a584b90dfeaac0b0cce4b54881e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:05:57 2019 +0100

    CAMEL-13165 - Docs updated
---
 .../src/main/docs/aws-msk-component.adoc           | 151 +++++++++++++++++++++
 1 file changed, 151 insertions(+)

diff --git a/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc b/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
new file mode 100644
index 0000000..e1d5432
--- /dev/null
+++ b/components/camel-aws-msk/src/main/docs/aws-msk-component.adoc
@@ -0,0 +1,151 @@
+[[aws-msk-component]]
+== AWS MSK Component
+
+*Available as of Camel version 3.0*
+
+The KMS component supports create, run, start, stop and terminate
+https://aws.amazon.com/it/msk/[AWS MSK] instances.
+
+Prerequisites
+
+You must have a valid Amazon Web Services developer account, and be
+signed up to use Amazon MSK. More information are available at
+https://aws.amazon.com/it/msk/[Amazon MSK].
+
+### URI Format
+
+[source,java]
+-------------------------
+aws-msk://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 MSK component supports 5 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *configuration* (advanced) | The AWS KMS default configuration |  | MSKConfiguration
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
+|===
+// component options: END
+
+
+
+
+// endpoint options: START
+The AWS MSK endpoint is configured using URI syntax:
+
+----
+aws-msk: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 (8 parameters):
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *accessKey* (producer) | Amazon AWS Access Key |  | String
+| *mskClient* (producer) | To use a existing configured AWS MSK as client |  | AWSKafka
+| *operation* (producer) | *Required* The operation to perform |  | MSKOperations
+| *proxyHost* (producer) | To define a proxy host when instantiating the KMS client |  | String
+| *proxyPort* (producer) | To define a proxy port when instantiating the KMS client |  | Integer
+| *region* (producer) | The region in which KMS client needs to work |  | String
+| *secretKey* (producer) | Amazon AWS Secret Key |  | String
+| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
+|===
+// endpoint options: END
+
+// spring-boot-auto-configure options: START
+// spring-boot-auto-configure options: END
+
+
+
+
+Required MSK component options
+
+You have to provide the amazonKmsClient in the
+Registry or your accessKey and secretKey to access
+the https://aws.amazon.com/it/msk/[Amazon MSK] service.
+
+### Usage
+
+#### Message headers evaluated by the MSK producer
+
+[width="100%",cols="10%,10%,80%",options="header",]
+|=======================================================================
+|Header |Type |Description
+
+|`CamelAwsMSKOperation` |`String` |The operation to perform
+
+|`CamelAwsMSKClusterFilter` |`String` |The cluster name filter for list operation
+
+|`CamelAwsMSKClusterName` |`String` |The cluster name for list and create operation
+
+|`CamelAwsMSKClusterArn` |`String` |The cluster arn for delete operation
+
+|`CamelAwsMSKClusterKafkaVersion` |`String` | The Kafka for the cluster during create operation
+
+|`CamelAwsMSKBrokerNodesNumber` |`Integer`| The number of nodes for the cluster during create operation
+
+|`CamelAwsMSKBrokerNodesGroupInfo` |`com.amazonaws.services.kafka.model.BrokerNodeGroupInfo`| The Broker nodes group info to provide during the create operation
+|=======================================================================
+
+#### KMS Producer operations
+
+Camel-AWS KMS component provides the following operation on the producer side:
+
+- listClusters
+- createCluster
+- deleteCluster
+
+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-msk</artifactId>
+    <version>${camel-version}</version>
+</dependency>
+---------------------------------------
+
+where `${camel-version`} must be replaced by the actual version of Camel
+(2.16 or higher).
+
+### See Also
+
+* Configuring Camel
+* Component
+* Endpoint
+* Getting Started
+
+* AWS Component


[camel] 02/11: CAMEL-13165 - Add Spring-boot starter bits

Posted by ac...@apache.org.
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 b448cd7d3c08ed6515721c4d5275de38c76698b6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 12:21:18 2019 +0100

    CAMEL-13165 - Add Spring-boot starter bits
---
 .../camel-aws-msk-starter/pom.xml                  |  61 +++++++
 .../springboot/MSKComponentAutoConfiguration.java  | 128 +++++++++++++
 .../msk/springboot/MSKComponentConfiguration.java  | 193 ++++++++++++++++++++
 .../src/main/resources/META-INF/LICENSE.txt        | 203 +++++++++++++++++++++
 .../src/main/resources/META-INF/NOTICE.txt         |  11 ++
 .../src/main/resources/META-INF/spring.factories   |  19 ++
 .../src/main/resources/META-INF/spring.provides    |  17 ++
 7 files changed, 632 insertions(+)

diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/pom.xml b/platforms/spring-boot/components-starter/camel-aws-msk-starter/pom.xml
new file mode 100644
index 0000000..53183fc
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/pom.xml
@@ -0,0 +1,61 @@
+<?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-starter</artifactId>
+    <version>3.0.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>camel-aws-msk-starter</artifactId>
+  <packaging>jar</packaging>
+  <name>Spring-Boot Starter :: Camel :: AWS MSK</name>
+  <description>Spring-Boot Starter for A Camel Amazon MSK Web Service Component</description>
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter</artifactId>
+      <version>${spring-boot-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-aws-msk</artifactId>
+      <version>${project.version}</version>
+      <!--START OF GENERATED CODE-->
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+      <!--END OF GENERATED CODE-->
+    </dependency>
+    <!--START OF GENERATED CODE-->
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-core-starter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-spring-boot-starter</artifactId>
+    </dependency>
+    <!--END OF GENERATED CODE-->
+  </dependencies>
+</project>
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentAutoConfiguration.java
new file mode 100644
index 0000000..a5cf1e6
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentAutoConfiguration.java
@@ -0,0 +1,128 @@
+/**
+ * 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.msk.springboot;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.CamelContext;
+import org.apache.camel.component.aws.msk.MSKComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spi.HasId;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.apache.camel.spring.boot.ComponentConfigurationProperties;
+import org.apache.camel.spring.boot.util.CamelPropertiesHelper;
+import org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans;
+import org.apache.camel.spring.boot.util.GroupCondition;
+import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
+import org.apache.camel.support.IntrospectionSupport;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Conditional;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Lazy;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo")
+@Configuration
+@Conditional({ConditionalOnCamelContextAndAutoConfigurationBeans.class,
+        MSKComponentAutoConfiguration.GroupConditions.class})
+@AutoConfigureAfter(CamelAutoConfiguration.class)
+@EnableConfigurationProperties({ComponentConfigurationProperties.class,
+        MSKComponentConfiguration.class})
+public class MSKComponentAutoConfiguration {
+
+    private static final Logger LOGGER = LoggerFactory
+            .getLogger(MSKComponentAutoConfiguration.class);
+    @Autowired
+    private ApplicationContext applicationContext;
+    @Autowired
+    private CamelContext camelContext;
+    @Autowired
+    private MSKComponentConfiguration configuration;
+    @Autowired(required = false)
+    private List<ComponentCustomizer<MSKComponent>> customizers;
+
+    static class GroupConditions extends GroupCondition {
+        public GroupConditions() {
+            super("camel.component", "camel.component.aws-msk");
+        }
+    }
+
+    @Lazy
+    @Bean(name = "aws-msk-component")
+    @ConditionalOnMissingBean(MSKComponent.class)
+    public MSKComponent configureMSKComponent() throws Exception {
+        MSKComponent component = new MSKComponent();
+        component.setCamelContext(camelContext);
+        Map<String, Object> parameters = new HashMap<>();
+        IntrospectionSupport.getProperties(configuration, parameters, null,
+                false);
+        for (Map.Entry<String, Object> entry : parameters.entrySet()) {
+            Object value = entry.getValue();
+            Class<?> paramClass = value.getClass();
+            if (paramClass.getName().endsWith("NestedConfiguration")) {
+                Class nestedClass = null;
+                try {
+                    nestedClass = (Class) paramClass.getDeclaredField(
+                            "CAMEL_NESTED_CLASS").get(null);
+                    HashMap<String, Object> nestedParameters = new HashMap<>();
+                    IntrospectionSupport.getProperties(value, nestedParameters,
+                            null, false);
+                    Object nestedProperty = nestedClass.newInstance();
+                    CamelPropertiesHelper.setCamelProperties(camelContext,
+                            nestedProperty, nestedParameters, false);
+                    entry.setValue(nestedProperty);
+                } catch (NoSuchFieldException e) {
+                }
+            }
+        }
+        CamelPropertiesHelper.setCamelProperties(camelContext, component,
+                parameters, false);
+        if (ObjectHelper.isNotEmpty(customizers)) {
+            for (ComponentCustomizer<MSKComponent> customizer : customizers) {
+                boolean useCustomizer = (customizer instanceof HasId)
+                        ? HierarchicalPropertiesEvaluator.evaluate(
+                                applicationContext.getEnvironment(),
+                                "camel.component.customizer",
+                                "camel.component.aws-msk.customizer",
+                                ((HasId) customizer).getId())
+                        : HierarchicalPropertiesEvaluator.evaluate(
+                                applicationContext.getEnvironment(),
+                                "camel.component.customizer",
+                                "camel.component.aws-msk.customizer");
+                if (useCustomizer) {
+                    LOGGER.debug("Configure component {}, with customizer {}",
+                            component, customizer);
+                    customizer.customize(component);
+                }
+            }
+        }
+        return component;
+    }
+}
\ No newline at end of file
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentConfiguration.java
new file mode 100644
index 0000000..dc0d3d3
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/java/org/apache/camel/component/aws/msk/springboot/MSKComponentConfiguration.java
@@ -0,0 +1,193 @@
+/**
+ * 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.msk.springboot;
+
+import javax.annotation.Generated;
+import com.amazonaws.services.kafka.AWSKafka;
+import org.apache.camel.component.aws.msk.MSKOperations;
+import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * The aws-kms is used for managing Amazon KMS
+ * 
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo")
+@ConfigurationProperties(prefix = "camel.component.aws-msk")
+public class MSKComponentConfiguration
+        extends
+            ComponentConfigurationPropertiesCommon {
+
+    /**
+     * Whether to enable auto configuration of the aws-msk component. This is
+     * enabled by default.
+     */
+    private Boolean enabled;
+    /**
+     * The AWS KMS default configuration
+     */
+    private MSKConfigurationNestedConfiguration configuration;
+    /**
+     * Amazon AWS Access Key
+     */
+    private String accessKey;
+    /**
+     * Amazon AWS Secret Key
+     */
+    private String secretKey;
+    /**
+     * The region in which KMS client needs to work
+     */
+    private String region;
+    /**
+     * Whether the component should resolve property placeholders on itself when
+     * starting. Only properties which are of String type can use property
+     * placeholders.
+     */
+    private Boolean resolvePropertyPlaceholders = true;
+
+    public MSKConfigurationNestedConfiguration getConfiguration() {
+        return configuration;
+    }
+
+    public void setConfiguration(
+            MSKConfigurationNestedConfiguration configuration) {
+        this.configuration = configuration;
+    }
+
+    public String getAccessKey() {
+        return accessKey;
+    }
+
+    public void setAccessKey(String accessKey) {
+        this.accessKey = accessKey;
+    }
+
+    public String getSecretKey() {
+        return secretKey;
+    }
+
+    public void setSecretKey(String secretKey) {
+        this.secretKey = secretKey;
+    }
+
+    public String getRegion() {
+        return region;
+    }
+
+    public void setRegion(String region) {
+        this.region = region;
+    }
+
+    public Boolean getResolvePropertyPlaceholders() {
+        return resolvePropertyPlaceholders;
+    }
+
+    public void setResolvePropertyPlaceholders(
+            Boolean resolvePropertyPlaceholders) {
+        this.resolvePropertyPlaceholders = resolvePropertyPlaceholders;
+    }
+
+    public static class MSKConfigurationNestedConfiguration {
+        public static final Class CAMEL_NESTED_CLASS = org.apache.camel.component.aws.msk.MSKConfiguration.class;
+        /**
+         * To use a existing configured AWS MSK as client
+         */
+        private AWSKafka mskClient;
+        /**
+         * Amazon AWS Access Key
+         */
+        private String accessKey;
+        /**
+         * Amazon AWS Secret Key
+         */
+        private String secretKey;
+        /**
+         * The operation to perform
+         */
+        private MSKOperations operation;
+        /**
+         * To define a proxy host when instantiating the KMS client
+         */
+        private String proxyHost;
+        /**
+         * To define a proxy port when instantiating the KMS client
+         */
+        private Integer proxyPort;
+        /**
+         * The region in which KMS client needs to work
+         */
+        private String region;
+
+        public AWSKafka getMskClient() {
+            return mskClient;
+        }
+
+        public void setMskClient(AWSKafka mskClient) {
+            this.mskClient = mskClient;
+        }
+
+        public String getAccessKey() {
+            return accessKey;
+        }
+
+        public void setAccessKey(String accessKey) {
+            this.accessKey = accessKey;
+        }
+
+        public String getSecretKey() {
+            return secretKey;
+        }
+
+        public void setSecretKey(String secretKey) {
+            this.secretKey = secretKey;
+        }
+
+        public MSKOperations getOperation() {
+            return operation;
+        }
+
+        public void setOperation(MSKOperations operation) {
+            this.operation = operation;
+        }
+
+        public String getProxyHost() {
+            return proxyHost;
+        }
+
+        public void setProxyHost(String proxyHost) {
+            this.proxyHost = proxyHost;
+        }
+
+        public Integer getProxyPort() {
+            return proxyPort;
+        }
+
+        public void setProxyPort(Integer proxyPort) {
+            this.proxyPort = proxyPort;
+        }
+
+        public String getRegion() {
+            return region;
+        }
+
+        public void setRegion(String region) {
+            this.region = region;
+        }
+    }
+}
\ No newline at end of file
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/LICENSE.txt b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
+
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/NOTICE.txt b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+   =========================================================================
+   ==  NOTICE file corresponding to the section 4 d of                    ==
+   ==  the Apache License, Version 2.0,                                   ==
+   ==  in this case for the Apache Camel distribution.                    ==
+   =========================================================================
+
+   This product includes software developed by
+   The Apache Software Foundation (http://www.apache.org/).
+
+   Please read the different LICENSE files present in the licenses directory of
+   this distribution.
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.factories b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..15f7aa4
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.aws.msk.springboot.MSKComponentAutoConfiguration
diff --git a/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.provides b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 0000000..bc4c359
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-aws-msk-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,17 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+provides: camel-aws-msk