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 2021/01/28 06:32:11 UTC

[camel] branch master updated (60ae8e9 -> 607842d)

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 60ae8e9  Sync deps
     new 6612652  CAMEL-16001 - Added Huawei SMN cloud to components modules
     new 6990b61  CAMEL-16001 - Added Huawei SMN component to Parent POM
     new dca1623  CAMEL-16001 - Added Huawei SMN component to BOM
     new 471242b  Regen
     new 0feca0c  Camel-16001 - Cleaned up POM and switch to junit5
     new 9a19ea4  CAMEL-16001 - Regen
     new 6c95e01  CAMEL-16001 - Fixed CS
     new 7d0ba5b  CAMEL-16001 - Correct naming for docs
     new 607842d  CAMEL-16001 - Final regen and full build

The 9 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:
 bom/camel-bom/pom.xml                              |   5 +
 .../org/apache/camel/catalog/components.properties |   1 +
 .../camel/catalog/components/hwcloud-smn.json      |  44 +++
 .../org/apache/camel/catalog/docs.properties       |   2 +-
 .../camel/catalog/docs/hwcloud-smn-component.adoc  |  47 +--
 components/camel-huaweicloud-smn/pom.xml           |  92 ++---
 .../smn/SimpleNotificationComponentConfigurer.java |  55 +++
 .../smn/SimpleNotificationEndpointConfigurer.java  | 115 +++++++
 .../smn/SimpleNotificationEndpointUriFactory.java  |  80 +++++
 .../services/org/apache/camel/component.properties |   7 +
 .../org/apache/camel/component/hwcloud-smn         |   2 +
 .../apache/camel/configurer/hwcloud-smn-component  |   2 +
 .../apache/camel/configurer/hwcloud-smn-endpoint   |   2 +
 .../apache/camel/urifactory/hwcloud-smn-endpoint   |   2 +
 .../component/huaweicloud/smn/hwcloud-smn.json     |  44 +++
 .../src/main/docs/hwcloud-smn-component.adoc       |  47 +--
 .../smn/SimpleNotificationProducer.java            |   7 +-
 .../huaweicloud/smn/SimpleNotificationUtils.java   |   4 +-
 .../smn/PublishTemplatedMessageTest.java           |  27 +-
 .../huaweicloud/smn/PublishTextMessageTest.java    |  33 +-
 .../smn/constants/SmnConstantsTest.java            |   7 +-
 .../smn/constants/SmnOperationsTest.java           |   9 +-
 .../smn/constants/SmnPropertiesTest.java           |  19 +-
 .../huaweicloud/smn/constants/SmnServicesTest.java |   7 +-
 components/pom.xml                                 |   1 +
 core/camel-allcomponents/pom.xml                   |   4 +
 .../component/ComponentsBuilderFactory.java        |  13 +
 .../dsl/HwcloudSmnComponentBuilderFactory.java     | 121 +++++++
 .../src/generated/resources/metadata.json          |  22 ++
 .../builder/endpoint/EndpointBuilderFactory.java   |   1 +
 .../camel/builder/endpoint/EndpointBuilders.java   |   1 +
 .../builder/endpoint/StaticEndpointBuilders.java   |  43 +++
 .../SimpleNotificationEndpointBuilderFactory.java  | 383 +++++++++++++++++++++
 docs/components/modules/ROOT/nav.adoc              |   2 +-
 ...d-component.adoc => hwcloud-smn-component.adoc} |  49 +--
 parent/pom.xml                                     |   5 +
 36 files changed, 1117 insertions(+), 188 deletions(-)
 create mode 100644 catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-smn.json
 rename components/camel-huaweicloud-smn/src/main/docs/hwcloud-component.adoc => catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-smn-component.adoc (70%)
 create mode 100644 components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationComponentConfigurer.java
 create mode 100644 components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointConfigurer.java
 create mode 100644 components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointUriFactory.java
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component.properties
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-smn
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-component
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-endpoint
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/urifactory/hwcloud-smn-endpoint
 create mode 100644 components/camel-huaweicloud-smn/src/generated/resources/org/apache/camel/component/huaweicloud/smn/hwcloud-smn.json
 rename catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-component.adoc => components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc (70%)
 create mode 100644 core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudSmnComponentBuilderFactory.java
 create mode 100644 core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SimpleNotificationEndpointBuilderFactory.java
 rename docs/components/modules/ROOT/pages/{hwcloud-component.adoc => hwcloud-smn-component.adoc} (70%)


[camel] 01/09: CAMEL-16001 - Added Huawei SMN cloud to components modules

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 66126527873536346ab7a1bb7a9ed0af336069b2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 06:56:22 2021 +0100

    CAMEL-16001 - Added Huawei SMN cloud to components modules
---
 components/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/pom.xml b/components/pom.xml
index 829ae58..0803c36 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -229,6 +229,7 @@
         <module>camel-hdfs</module>
         <module>camel-headersmap</module>
         <module>camel-hl7</module>
+        <module>camel-huaweicloud-smn</module>
         <module>camel-ical</module>
         <module>camel-iec60870</module>
         <module>camel-ignite</module>


[camel] 07/09: CAMEL-16001 - 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 6c95e01501cb4f0b4fb6b77dc9dd65864c9d068e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:20:12 2021 +0100

    CAMEL-16001 - Fixed CS
---
 .../component/huaweicloud/smn/PublishTemplatedMessageTest.java    | 8 +++-----
 .../camel/component/huaweicloud/smn/PublishTextMessageTest.java   | 7 +++----
 .../component/huaweicloud/smn/constants/SmnConstantsTest.java     | 4 ++--
 .../component/huaweicloud/smn/constants/SmnOperationsTest.java    | 4 ++--
 .../component/huaweicloud/smn/constants/SmnPropertiesTest.java    | 4 ++--
 .../component/huaweicloud/smn/constants/SmnServicesTest.java      | 4 ++--
 6 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
index c2ae4bc..1aa01c6 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
@@ -26,15 +26,13 @@ import org.apache.camel.component.huaweicloud.smn.constants.SmnProperties;
 import org.apache.camel.component.huaweicloud.smn.models.ServiceKeys;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit5.CamelTestSupport;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-
 import org.junit.jupiter.api.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
 public class PublishTemplatedMessageTest extends CamelTestSupport {
     private static final Logger LOGGER = LoggerFactory.getLogger(PublishTemplatedMessageTest.class.getName());
 
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
index c965d3d..899f5f2 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
@@ -22,15 +22,14 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.huaweicloud.smn.constants.SmnProperties;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit5.CamelTestSupport;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-import org.junit.jupiter.api.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 public class PublishTextMessageTest extends CamelTestSupport {
     private static final Logger LOGGER = LoggerFactory.getLogger(PublishTextMessageTest.class.getName());
 
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
index 2d67b4e3..fcb55e6 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
@@ -16,10 +16,10 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
 public class SmnConstantsTest {
     @Test
     public void testConstants() {
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
index 30a04dd..c225992 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
@@ -16,10 +16,10 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
 public class SmnOperationsTest {
     @Test
     public void testOperationsName() {
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
index ee5ff7e..cd68b05 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
@@ -16,10 +16,10 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
 public class SmnPropertiesTest {
     @Test
     public void testHwCloudSmnPropertyNames() {
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
index 1c5efbf..c89eb02 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
@@ -16,10 +16,10 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
 public class SmnServicesTest {
     @Test
     public void testSmnServicesName() {


[camel] 06/09: CAMEL-16001 - 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 9a19ea4e9fb89734e00ff50304dbdead637e31c8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:19:29 2021 +0100

    CAMEL-16001 - Regen
---
 .../smn/SimpleNotificationComponentConfigurer.java |  55 +++
 .../smn/SimpleNotificationEndpointConfigurer.java  | 115 +++++++
 .../smn/SimpleNotificationEndpointUriFactory.java  |  80 +++++
 .../services/org/apache/camel/component.properties |   7 +
 .../org/apache/camel/component/hwcloud-smn         |   2 +
 .../apache/camel/configurer/hwcloud-smn-component  |   2 +
 .../apache/camel/configurer/hwcloud-smn-endpoint   |   2 +
 .../apache/camel/urifactory/hwcloud-smn-endpoint   |   2 +
 .../component/huaweicloud/smn/hwcloud-smn.json     |  44 +++
 .../dsl/HwcloudSmnComponentBuilderFactory.java     | 121 +++++++
 .../SimpleNotificationEndpointBuilderFactory.java  | 383 +++++++++++++++++++++
 11 files changed, 813 insertions(+)

diff --git a/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationComponentConfigurer.java b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationComponentConfigurer.java
new file mode 100644
index 0000000..c7a0037
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationComponentConfigurer.java
@@ -0,0 +1,55 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.huaweicloud.smn;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.spi.ConfigurerStrategy;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.support.component.PropertyConfigurerSupport;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class SimpleNotificationComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+    @Override
+    public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+        SimpleNotificationComponent target = (SimpleNotificationComponent) obj;
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "autowiredenabled":
+        case "autowiredEnabled": target.setAutowiredEnabled(property(camelContext, boolean.class, value)); return true;
+        case "lazystartproducer":
+        case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+        default: return false;
+        }
+    }
+
+    @Override
+    public Class<?> getOptionType(String name, boolean ignoreCase) {
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "autowiredenabled":
+        case "autowiredEnabled": return boolean.class;
+        case "lazystartproducer":
+        case "lazyStartProducer": return boolean.class;
+        default: return null;
+        }
+    }
+
+    @Override
+    public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+        SimpleNotificationComponent target = (SimpleNotificationComponent) obj;
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "autowiredenabled":
+        case "autowiredEnabled": return target.isAutowiredEnabled();
+        case "lazystartproducer":
+        case "lazyStartProducer": return target.isLazyStartProducer();
+        default: return null;
+        }
+    }
+}
+
diff --git a/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointConfigurer.java b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointConfigurer.java
new file mode 100644
index 0000000..82c8a7f
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointConfigurer.java
@@ -0,0 +1,115 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.huaweicloud.smn;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.spi.ConfigurerStrategy;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.support.component.PropertyConfigurerSupport;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class SimpleNotificationEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+    @Override
+    public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+        SimpleNotificationEndpoint target = (SimpleNotificationEndpoint) obj;
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "authkey":
+        case "authKey": target.setAuthKey(property(camelContext, java.lang.String.class, value)); return true;
+        case "ignoresslverification":
+        case "ignoreSslVerification": target.setIgnoreSslVerification(property(camelContext, boolean.class, value)); return true;
+        case "lazystartproducer":
+        case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+        case "messagettl":
+        case "messageTtl": target.setMessageTtl(property(camelContext, int.class, value)); return true;
+        case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+        case "projectid":
+        case "projectId": target.setProjectId(property(camelContext, java.lang.String.class, value)); return true;
+        case "proxyhost":
+        case "proxyHost": target.setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+        case "proxypassword":
+        case "proxyPassword": target.setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+        case "proxyport":
+        case "proxyPort": target.setProxyPort(property(camelContext, int.class, value)); return true;
+        case "proxyuser":
+        case "proxyUser": target.setProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+        case "region": target.setRegion(property(camelContext, java.lang.String.class, value)); return true;
+        case "secretkey":
+        case "secretKey": target.setSecretKey(property(camelContext, java.lang.String.class, value)); return true;
+        case "servicekeys":
+        case "serviceKeys": target.setServiceKeys(property(camelContext, org.apache.camel.component.huaweicloud.smn.models.ServiceKeys.class, value)); return true;
+        default: return false;
+        }
+    }
+
+    @Override
+    public Class<?> getOptionType(String name, boolean ignoreCase) {
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "authkey":
+        case "authKey": return java.lang.String.class;
+        case "ignoresslverification":
+        case "ignoreSslVerification": return boolean.class;
+        case "lazystartproducer":
+        case "lazyStartProducer": return boolean.class;
+        case "messagettl":
+        case "messageTtl": return int.class;
+        case "operation": return java.lang.String.class;
+        case "projectid":
+        case "projectId": return java.lang.String.class;
+        case "proxyhost":
+        case "proxyHost": return java.lang.String.class;
+        case "proxypassword":
+        case "proxyPassword": return java.lang.String.class;
+        case "proxyport":
+        case "proxyPort": return int.class;
+        case "proxyuser":
+        case "proxyUser": return java.lang.String.class;
+        case "region": return java.lang.String.class;
+        case "secretkey":
+        case "secretKey": return java.lang.String.class;
+        case "servicekeys":
+        case "serviceKeys": return org.apache.camel.component.huaweicloud.smn.models.ServiceKeys.class;
+        default: return null;
+        }
+    }
+
+    @Override
+    public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+        SimpleNotificationEndpoint target = (SimpleNotificationEndpoint) obj;
+        switch (ignoreCase ? name.toLowerCase() : name) {
+        case "authkey":
+        case "authKey": return target.getAuthKey();
+        case "ignoresslverification":
+        case "ignoreSslVerification": return target.isIgnoreSslVerification();
+        case "lazystartproducer":
+        case "lazyStartProducer": return target.isLazyStartProducer();
+        case "messagettl":
+        case "messageTtl": return target.getMessageTtl();
+        case "operation": return target.getOperation();
+        case "projectid":
+        case "projectId": return target.getProjectId();
+        case "proxyhost":
+        case "proxyHost": return target.getProxyHost();
+        case "proxypassword":
+        case "proxyPassword": return target.getProxyPassword();
+        case "proxyport":
+        case "proxyPort": return target.getProxyPort();
+        case "proxyuser":
+        case "proxyUser": return target.getProxyUser();
+        case "region": return target.getRegion();
+        case "secretkey":
+        case "secretKey": return target.getSecretKey();
+        case "servicekeys":
+        case "serviceKeys": return target.getServiceKeys();
+        default: return null;
+        }
+    }
+}
+
diff --git a/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointUriFactory.java b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointUriFactory.java
new file mode 100644
index 0000000..3e6ed20
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationEndpointUriFactory.java
@@ -0,0 +1,80 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.huaweicloud.smn;
+
+import java.net.URISyntaxException;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.apache.camel.spi.EndpointUriFactory;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+public class SimpleNotificationEndpointUriFactory extends org.apache.camel.support.component.EndpointUriFactorySupport implements EndpointUriFactory {
+
+    private static final String BASE = ":smnService";
+
+    private static final Set<String> PROPERTY_NAMES;
+    private static final Set<String> SECRET_PROPERTY_NAMES;
+    static {
+        Set<String> props = new HashSet<>(14);
+        props.add("authKey");
+        props.add("serviceKeys");
+        props.add("secretKey");
+        props.add("proxyPassword");
+        props.add("ignoreSslVerification");
+        props.add("proxyHost");
+        props.add("proxyPort");
+        props.add("lazyStartProducer");
+        props.add("proxyUser");
+        props.add("messageTtl");
+        props.add("region");
+        props.add("operation");
+        props.add("projectId");
+        props.add("smnService");
+        PROPERTY_NAMES = Collections.unmodifiableSet(props);
+        Set<String> secretProps = new HashSet<>(5);
+        secretProps.add("authKey");
+        secretProps.add("serviceKeys");
+        secretProps.add("secretKey");
+        secretProps.add("proxyPassword");
+        secretProps.add("proxyUser");
+        SECRET_PROPERTY_NAMES = Collections.unmodifiableSet(secretProps);
+    }
+
+    @Override
+    public boolean isEnabled(String scheme) {
+        return "hwcloud-smn".equals(scheme);
+    }
+
+    @Override
+    public String buildUri(String scheme, Map<String, Object> properties, boolean encode) throws URISyntaxException {
+        String syntax = scheme + BASE;
+        String uri = syntax;
+
+        Map<String, Object> copy = new HashMap<>(properties);
+
+        uri = buildPathParameter(syntax, uri, "smnService", null, true, copy);
+        uri = buildQueryParameters(uri, copy, encode);
+        return uri;
+    }
+
+    @Override
+    public Set<String> propertyNames() {
+        return PROPERTY_NAMES;
+    }
+
+    @Override
+    public Set<String> secretPropertyNames() {
+        return SECRET_PROPERTY_NAMES;
+    }
+
+    @Override
+    public boolean isLenientProperties() {
+        return false;
+    }
+}
+
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component.properties
new file mode 100644
index 0000000..841a036
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+components=hwcloud-smn
+groupId=org.apache.camel
+artifactId=camel-huaweicloud-smn
+version=3.8.0-SNAPSHOT
+projectName=Camel :: Huawei Cloud SimpleNotification Component
+projectDescription=A Camel Huawei Simple Notification Component
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-smn b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-smn
new file mode 100644
index 0000000..f56a34e
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-smn
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponent
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-component b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-component
new file mode 100644
index 0000000..47cfe3b
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-component
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponentConfigurer
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-endpoint b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-endpoint
new file mode 100644
index 0000000..35dc561
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/configurer/hwcloud-smn-endpoint
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.huaweicloud.smn.SimpleNotificationEndpointConfigurer
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/urifactory/hwcloud-smn-endpoint b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/urifactory/hwcloud-smn-endpoint
new file mode 100644
index 0000000..1fd9fa5
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/META-INF/services/org/apache/camel/urifactory/hwcloud-smn-endpoint
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.huaweicloud.smn.SimpleNotificationEndpointUriFactory
diff --git a/components/camel-huaweicloud-smn/src/generated/resources/org/apache/camel/component/huaweicloud/smn/hwcloud-smn.json b/components/camel-huaweicloud-smn/src/generated/resources/org/apache/camel/component/huaweicloud/smn/hwcloud-smn.json
new file mode 100644
index 0000000..340d7d4
--- /dev/null
+++ b/components/camel-huaweicloud-smn/src/generated/resources/org/apache/camel/component/huaweicloud/smn/hwcloud-smn.json
@@ -0,0 +1,44 @@
+{
+  "component": {
+    "kind": "component",
+    "name": "hwcloud-smn",
+    "title": "SimpleNotification",
+    "description": "Huawei Cloud component to integrate with SimpleNotification services",
+    "deprecated": false,
+    "firstVersion": "3.8.0",
+    "label": "cloud,messaging",
+    "javaType": "org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponent",
+    "supportLevel": "Preview",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-huaweicloud-smn",
+    "version": "3.8.0-SNAPSHOT",
+    "scheme": "hwcloud-smn",
+    "extendsScheme": "",
+    "syntax": "hwcloud-smn:smnService",
+    "async": false,
+    "api": false,
+    "consumerOnly": false,
+    "producerOnly": true,
+    "lenientProperties": false
+  },
+  "componentProperties": {
+    "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...]
+    "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...]
+  },
+  "properties": {
+    "smnService": { "kind": "path", "displayName": "Service name", "group": "producer", "label": "producer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Name of SMN service to invoke" },
+    "authKey": { "kind": "parameter", "displayName": "API authentication key (AK)", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Authentication key for the cloud user" },
+    "ignoreSslVerification": { "kind": "parameter", "displayName": "SSL Verification Ignored", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "description": "Ignore SSL verification" },
+    "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...]
+    "messageTtl": { "kind": "parameter", "displayName": "Message TTL", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 3600, "description": "TTL for published message" },
+    "operation": { "kind": "parameter", "displayName": "Operation name", "group": "producer", "label": "producer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Name of operation to perform" },
+    "projectId": { "kind": "parameter", "displayName": "Project ID", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Cloud project ID" },
+    "proxyHost": { "kind": "parameter", "displayName": "Proxy server host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Proxy server ip\/hostname" },
+    "proxyPassword": { "kind": "parameter", "displayName": "Proxy password", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Proxy authentication password" },
+    "proxyPort": { "kind": "parameter", "displayName": "Proxy server port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Proxy server port" },
+    "proxyUser": { "kind": "parameter", "displayName": "Proxy user", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Proxy authentication user" },
+    "region": { "kind": "parameter", "displayName": "Service region", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "SMN service region" },
+    "secretKey": { "kind": "parameter", "displayName": "API secret key (SK)", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Secret key for the cloud user" },
+    "serviceKeys": { "kind": "parameter", "displayName": "Service Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.huaweicloud.smn.models.ServiceKeys", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Configuration object for cloud service authentication" }
+  }
+}
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudSmnComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudSmnComponentBuilderFactory.java
new file mode 100644
index 0000000..82589bb
--- /dev/null
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudSmnComponentBuilderFactory.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.builder.component.dsl;
+
+import javax.annotation.Generated;
+import org.apache.camel.Component;
+import org.apache.camel.builder.component.AbstractComponentBuilder;
+import org.apache.camel.builder.component.ComponentBuilder;
+import org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponent;
+
+/**
+ * Huawei Cloud component to integrate with SimpleNotification services
+ * 
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
+public interface HwcloudSmnComponentBuilderFactory {
+
+    /**
+     * SimpleNotification (camel-huaweicloud-smn)
+     * Huawei Cloud component to integrate with SimpleNotification services
+     * 
+     * Category: cloud,messaging
+     * Since: 3.8
+     * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+     * 
+     * @return the dsl builder
+     */
+    static HwcloudSmnComponentBuilder hwcloudSmn() {
+        return new HwcloudSmnComponentBuilderImpl();
+    }
+
+    /**
+     * Builder for the SimpleNotification component.
+     */
+    interface HwcloudSmnComponentBuilder
+            extends
+                ComponentBuilder<SimpleNotificationComponent> {
+        /**
+         * Whether the producer should be started lazy (on the first message).
+         * By starting lazy you can use this to allow CamelContext and routes to
+         * startup in situations where a producer may otherwise fail during
+         * starting and cause the route to fail being started. By deferring this
+         * startup to be lazy then the startup failure can be handled during
+         * routing messages via Camel's routing error handlers. Beware that when
+         * the first message is processed then creating and starting the
+         * producer may take a little time and prolong the total processing time
+         * of the processing.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param lazyStartProducer the value to set
+         * @return the dsl builder
+         */
+        default HwcloudSmnComponentBuilder lazyStartProducer(
+                boolean lazyStartProducer) {
+            doSetProperty("lazyStartProducer", lazyStartProducer);
+            return this;
+        }
+        /**
+         * Whether autowiring is enabled. This is used for automatic autowiring
+         * options (the option must be marked as autowired) by looking up in the
+         * registry to find if there is a single instance of matching type,
+         * which then gets configured on the component. This can be used for
+         * automatic configuring JDBC data sources, JMS connection factories,
+         * AWS Clients, etc.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: true
+         * Group: advanced
+         * 
+         * @param autowiredEnabled the value to set
+         * @return the dsl builder
+         */
+        default HwcloudSmnComponentBuilder autowiredEnabled(
+                boolean autowiredEnabled) {
+            doSetProperty("autowiredEnabled", autowiredEnabled);
+            return this;
+        }
+    }
+
+    class HwcloudSmnComponentBuilderImpl
+            extends
+                AbstractComponentBuilder<SimpleNotificationComponent>
+            implements
+                HwcloudSmnComponentBuilder {
+        @Override
+        protected SimpleNotificationComponent buildConcreteComponent() {
+            return new SimpleNotificationComponent();
+        }
+        @Override
+        protected boolean setPropertyOnComponent(
+                Component component,
+                String name,
+                Object value) {
+            switch (name) {
+            case "lazyStartProducer": ((SimpleNotificationComponent) component).setLazyStartProducer((boolean) value); return true;
+            case "autowiredEnabled": ((SimpleNotificationComponent) component).setAutowiredEnabled((boolean) value); return true;
+            default: return false;
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SimpleNotificationEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SimpleNotificationEndpointBuilderFactory.java
new file mode 100644
index 0000000..e77fbc5
--- /dev/null
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SimpleNotificationEndpointBuilderFactory.java
@@ -0,0 +1,383 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.builder.endpoint.dsl;
+
+import javax.annotation.Generated;
+import org.apache.camel.builder.EndpointConsumerBuilder;
+import org.apache.camel.builder.EndpointProducerBuilder;
+import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
+
+/**
+ * Huawei Cloud component to integrate with SimpleNotification services
+ * 
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
+public interface SimpleNotificationEndpointBuilderFactory {
+
+
+    /**
+     * Builder for endpoint for the SimpleNotification component.
+     */
+    public interface SimpleNotificationEndpointBuilder
+            extends
+                EndpointProducerBuilder {
+        /**
+         * Authentication key for the cloud user.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Required: true
+         * Group: producer
+         * 
+         * @param authKey the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder authKey(String authKey) {
+            doSetProperty("authKey", authKey);
+            return this;
+        }
+        /**
+         * Ignore SSL verification.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param ignoreSslVerification the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder ignoreSslVerification(
+                boolean ignoreSslVerification) {
+            doSetProperty("ignoreSslVerification", ignoreSslVerification);
+            return this;
+        }
+        /**
+         * Ignore SSL verification.
+         * 
+         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
+         * type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param ignoreSslVerification the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder ignoreSslVerification(
+                String ignoreSslVerification) {
+            doSetProperty("ignoreSslVerification", ignoreSslVerification);
+            return this;
+        }
+        /**
+         * Whether the producer should be started lazy (on the first message).
+         * By starting lazy you can use this to allow CamelContext and routes to
+         * startup in situations where a producer may otherwise fail during
+         * starting and cause the route to fail being started. By deferring this
+         * startup to be lazy then the startup failure can be handled during
+         * routing messages via Camel's routing error handlers. Beware that when
+         * the first message is processed then creating and starting the
+         * producer may take a little time and prolong the total processing time
+         * of the processing.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param lazyStartProducer the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder lazyStartProducer(
+                boolean lazyStartProducer) {
+            doSetProperty("lazyStartProducer", lazyStartProducer);
+            return this;
+        }
+        /**
+         * Whether the producer should be started lazy (on the first message).
+         * By starting lazy you can use this to allow CamelContext and routes to
+         * startup in situations where a producer may otherwise fail during
+         * starting and cause the route to fail being started. By deferring this
+         * startup to be lazy then the startup failure can be handled during
+         * routing messages via Camel's routing error handlers. Beware that when
+         * the first message is processed then creating and starting the
+         * producer may take a little time and prolong the total processing time
+         * of the processing.
+         * 
+         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
+         * type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param lazyStartProducer the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder lazyStartProducer(
+                String lazyStartProducer) {
+            doSetProperty("lazyStartProducer", lazyStartProducer);
+            return this;
+        }
+        /**
+         * TTL for published message.
+         * 
+         * The option is a: &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Default: 3600
+         * Group: producer
+         * 
+         * @param messageTtl the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder messageTtl(int messageTtl) {
+            doSetProperty("messageTtl", messageTtl);
+            return this;
+        }
+        /**
+         * TTL for published message.
+         * 
+         * The option will be converted to a &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Default: 3600
+         * Group: producer
+         * 
+         * @param messageTtl the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder messageTtl(String messageTtl) {
+            doSetProperty("messageTtl", messageTtl);
+            return this;
+        }
+        /**
+         * Name of operation to perform.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Required: true
+         * Group: producer
+         * 
+         * @param operation the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder operation(String operation) {
+            doSetProperty("operation", operation);
+            return this;
+        }
+        /**
+         * Cloud project ID.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Required: true
+         * Group: producer
+         * 
+         * @param projectId the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder projectId(String projectId) {
+            doSetProperty("projectId", projectId);
+            return this;
+        }
+        /**
+         * Proxy server ip/hostname.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param proxyHost the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder proxyHost(String proxyHost) {
+            doSetProperty("proxyHost", proxyHost);
+            return this;
+        }
+        /**
+         * Proxy authentication password.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param proxyPassword the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder proxyPassword(
+                String proxyPassword) {
+            doSetProperty("proxyPassword", proxyPassword);
+            return this;
+        }
+        /**
+         * Proxy server port.
+         * 
+         * The option is a: &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param proxyPort the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder proxyPort(int proxyPort) {
+            doSetProperty("proxyPort", proxyPort);
+            return this;
+        }
+        /**
+         * Proxy server port.
+         * 
+         * The option will be converted to a &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param proxyPort the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder proxyPort(String proxyPort) {
+            doSetProperty("proxyPort", proxyPort);
+            return this;
+        }
+        /**
+         * Proxy authentication user.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param proxyUser the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder proxyUser(String proxyUser) {
+            doSetProperty("proxyUser", proxyUser);
+            return this;
+        }
+        /**
+         * SMN service region.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Required: true
+         * Group: producer
+         * 
+         * @param region the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder region(String region) {
+            doSetProperty("region", region);
+            return this;
+        }
+        /**
+         * Secret key for the cloud user.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Required: true
+         * Group: producer
+         * 
+         * @param secretKey the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder secretKey(String secretKey) {
+            doSetProperty("secretKey", secretKey);
+            return this;
+        }
+        /**
+         * Configuration object for cloud service authentication.
+         * 
+         * The option is a:
+         * &lt;code&gt;org.apache.camel.component.huaweicloud.smn.models.ServiceKeys&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param serviceKeys the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder serviceKeys(Object serviceKeys) {
+            doSetProperty("serviceKeys", serviceKeys);
+            return this;
+        }
+        /**
+         * Configuration object for cloud service authentication.
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;org.apache.camel.component.huaweicloud.smn.models.ServiceKeys&lt;/code&gt; type.
+         * 
+         * Group: producer
+         * 
+         * @param serviceKeys the value to set
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder serviceKeys(String serviceKeys) {
+            doSetProperty("serviceKeys", serviceKeys);
+            return this;
+        }
+    }
+
+    public interface SimpleNotificationBuilders {
+        /**
+         * SimpleNotification (camel-huaweicloud-smn)
+         * Huawei Cloud component to integrate with SimpleNotification services
+         * 
+         * Category: cloud,messaging
+         * Since: 3.8
+         * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+         * 
+         * Syntax: <code>hwcloud-smn:smnService</code>
+         * 
+         * Path parameter: smnService (required)
+         * Name of SMN service to invoke
+         * 
+         * @param path smnService
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder hwcloudSmn(String path) {
+            return SimpleNotificationEndpointBuilderFactory.endpointBuilder("hwcloud-smn", path);
+        }
+        /**
+         * SimpleNotification (camel-huaweicloud-smn)
+         * Huawei Cloud component to integrate with SimpleNotification services
+         * 
+         * Category: cloud,messaging
+         * Since: 3.8
+         * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+         * 
+         * Syntax: <code>hwcloud-smn:smnService</code>
+         * 
+         * Path parameter: smnService (required)
+         * Name of SMN service to invoke
+         * 
+         * @param componentName to use a custom component name for the endpoint
+         * instead of the default name
+         * @param path smnService
+         * @return the dsl builder
+         */
+        default SimpleNotificationEndpointBuilder hwcloudSmn(
+                String componentName,
+                String path) {
+            return SimpleNotificationEndpointBuilderFactory.endpointBuilder(componentName, path);
+        }
+    }
+    static SimpleNotificationEndpointBuilder endpointBuilder(
+            String componentName,
+            String path) {
+        class SimpleNotificationEndpointBuilderImpl extends AbstractEndpointBuilder implements SimpleNotificationEndpointBuilder {
+            public SimpleNotificationEndpointBuilderImpl(String path) {
+                super(componentName, path);
+            }
+        }
+        return new SimpleNotificationEndpointBuilderImpl(path);
+    }
+}
\ No newline at end of file


[camel] 09/09: CAMEL-16001 - Final regen and full build

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 607842d7444e8b6c98249c2819a1d54affcddf58
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:31:27 2021 +0100

    CAMEL-16001 - Final regen and full build
---
 .../org/apache/camel/catalog/components.properties |  1 +
 .../camel/catalog/components/hwcloud-smn.json      | 44 +++++++++++++++++++
 .../org/apache/camel/catalog/docs.properties       |  2 +-
 ...d-component.adoc => hwcloud-smn-component.adoc} | 47 +++++++++++----------
 .../src/main/docs/hwcloud-smn-component.adoc       | 47 +++++++++++----------
 docs/components/modules/ROOT/nav.adoc              |  2 +-
 ...d-component.adoc => hwcloud-smn-component.adoc} | 49 +++++++++++-----------
 7 files changed, 120 insertions(+), 72 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index a4fce40..663e3af 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -165,6 +165,7 @@ hbase
 hdfs
 http
 https
+hwcloud-smn
 iec60870-client
 iec60870-server
 ignite-cache
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-smn.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-smn.json
new file mode 100644
index 0000000..340d7d4
--- /dev/null
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-smn.json
@@ -0,0 +1,44 @@
+{
+  "component": {
+    "kind": "component",
+    "name": "hwcloud-smn",
+    "title": "SimpleNotification",
+    "description": "Huawei Cloud component to integrate with SimpleNotification services",
+    "deprecated": false,
+    "firstVersion": "3.8.0",
+    "label": "cloud,messaging",
+    "javaType": "org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponent",
+    "supportLevel": "Preview",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-huaweicloud-smn",
+    "version": "3.8.0-SNAPSHOT",
+    "scheme": "hwcloud-smn",
+    "extendsScheme": "",
+    "syntax": "hwcloud-smn:smnService",
+    "async": false,
+    "api": false,
+    "consumerOnly": false,
+    "producerOnly": true,
+    "lenientProperties": false
+  },
+  "componentProperties": {
+    "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...]
+    "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...]
+  },
+  "properties": {
+    "smnService": { "kind": "path", "displayName": "Service name", "group": "producer", "label": "producer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Name of SMN service to invoke" },
+    "authKey": { "kind": "parameter", "displayName": "API authentication key (AK)", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Authentication key for the cloud user" },
+    "ignoreSslVerification": { "kind": "parameter", "displayName": "SSL Verification Ignored", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "description": "Ignore SSL verification" },
+    "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...]
+    "messageTtl": { "kind": "parameter", "displayName": "Message TTL", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 3600, "description": "TTL for published message" },
+    "operation": { "kind": "parameter", "displayName": "Operation name", "group": "producer", "label": "producer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Name of operation to perform" },
+    "projectId": { "kind": "parameter", "displayName": "Project ID", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Cloud project ID" },
+    "proxyHost": { "kind": "parameter", "displayName": "Proxy server host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Proxy server ip\/hostname" },
+    "proxyPassword": { "kind": "parameter", "displayName": "Proxy password", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Proxy authentication password" },
+    "proxyPort": { "kind": "parameter", "displayName": "Proxy server port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Proxy server port" },
+    "proxyUser": { "kind": "parameter", "displayName": "Proxy user", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Proxy authentication user" },
+    "region": { "kind": "parameter", "displayName": "Service region", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "SMN service region" },
+    "secretKey": { "kind": "parameter", "displayName": "API secret key (SK)", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Secret key for the cloud user" },
+    "serviceKeys": { "kind": "parameter", "displayName": "Service Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.huaweicloud.smn.models.ServiceKeys", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Configuration object for cloud service authentication" }
+  }
+}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
index f47f7e4..4b581c8 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
@@ -226,7 +226,7 @@ headersmap
 hl7-dataformat
 hl7terser-language
 http-component
-hwcloud-component
+hwcloud-smn-component
 hystrix
 hystrix-eip
 hystrixConfiguration-eip
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-smn-component.adoc
similarity index 70%
rename from catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-component.adoc
rename to catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-smn-component.adoc
index 7a4c19a..06bdc37 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-smn-component.adoc
@@ -1,10 +1,10 @@
 [[hwcloud-smn-component]]
-= Huawei Cloud Smn Component
-:docTitle: Huawei Cloud SMN (Simple notification services)
+= SimpleNotification Component
+:docTitle: SimpleNotification
 :artifactId: camel-huaweicloud-smn
-:description: Send message to simple notification services
-:since: 3.8.0
-:supportLevel: Stable
+:description: Huawei Cloud component to integrate with SimpleNotification services
+:since: 3.8
+:supportLevel: Preview
 :component-header: Only producer is supported
 include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-smn.adoc[opts=optional]
 
@@ -40,7 +40,7 @@ hwcloud-smn:service[?options]
 == Options
 
 // component options: START
-The SMN component supports 4 options, which are listed below.
+The SimpleNotification component supports 2 options, which are listed below.
 
 
 
@@ -53,10 +53,10 @@ The SMN component supports 4 options, which are listed below.
 // component options: END
 
 // endpoint options: START
-The SMN endpoint is configured using URI syntax:
+The SimpleNotification endpoint is configured using URI syntax:
 
 ----
-hwcloud-smn:service
+hwcloud-smn:smnService
 ----
 
 with the following path and query parameters:
@@ -67,28 +67,29 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *service* | *Required* name of the available services in SMN |  | String
+| *smnService* | *Required* Name of SMN service to invoke |  | String
 |===
 
 
-=== Query Parameters (28 parameters):
+=== Query Parameters (13 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *operation* (producer) | *Required* The actual operation to invoke under the mentioned service |  | String
-| *serviceKeys* (advanced) | Configuration object of class org.apache.camel.component.huaweicloud.smn.models.ServiceKeys containing connectivity parameters like AK, SK, ProjectID and region | null | ServiceKeys
-| *authKey* | *Required* Authentication Key (AK) can be generated from your cloud account user settings | null | String
-| *secretKey* | *Required* Secret Key (AK) can be generated from your cloud account user settings |  | String
-| *projectId* | *Required* Project ID for your specific region. Refer your cloud account settings |  | String
-| *proxyHost* | *Optional* IP/Hostname of the proxy server to access the public cloud from your deployment landscape |  | String
-| *proxyPort* | *Optional* Port number of the proxy service on proxy host |  | String
-| *proxyUser* | *Optional* Proxy user id (if applicable) |  | String
-| *proxyPassword* | *Optional* Proxy user password (if applicable)  |  | String
-| *region*| *Required* Region where your SMN service is hosted |  | String
-| *messageTtl* | *Optional* Time-to-live parameter for each message published to the topic. The subcriptions which are added to the topic within this timeout value will receive the notification | 3600 | String
-| *ignoreSslVerification* | *Optional* whether to ignore SSL verification while connecting to huawei cloud services. It's not recommended in production environment  | false | Boolean
+| *authKey* (producer) | *Required* Authentication key for the cloud user |  | String
+| *ignoreSslVerification* (producer) | Ignore SSL verification | false | boolean
+| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...]
+| *messageTtl* (producer) | TTL for published message | 3600 | int
+| *operation* (producer) | *Required* Name of operation to perform |  | String
+| *projectId* (producer) | *Required* Cloud project ID |  | String
+| *proxyHost* (producer) | Proxy server ip/hostname |  | String
+| *proxyPassword* (producer) | Proxy authentication password |  | String
+| *proxyPort* (producer) | Proxy server port |  | int
+| *proxyUser* (producer) | Proxy authentication user |  | String
+| *region* (producer) | *Required* SMN service region |  | String
+| *secretKey* (producer) | *Required* Secret key for the cloud user |  | String
+| *serviceKeys* (producer) | Configuration object for cloud service authentication |  | ServiceKeys
 |===
 // endpoint options: END
 
@@ -145,4 +146,4 @@ from("direct:triggerRoute")
 .setProperty("CamelHwCloudSmnTemplateTags", constant(tags))
 .setProperty("CamelHwCloudSmnTemplateName", constant("hello-template"))
 .to("hwcloud-smn:publishMessageService?operation=publishAsTextMessage&authKey=*********&secretKey=********&projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc&region=cn-north-4")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------
diff --git a/components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc b/components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc
index 7a4c19a..06bdc37 100644
--- a/components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc
+++ b/components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc
@@ -1,10 +1,10 @@
 [[hwcloud-smn-component]]
-= Huawei Cloud Smn Component
-:docTitle: Huawei Cloud SMN (Simple notification services)
+= SimpleNotification Component
+:docTitle: SimpleNotification
 :artifactId: camel-huaweicloud-smn
-:description: Send message to simple notification services
-:since: 3.8.0
-:supportLevel: Stable
+:description: Huawei Cloud component to integrate with SimpleNotification services
+:since: 3.8
+:supportLevel: Preview
 :component-header: Only producer is supported
 include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-smn.adoc[opts=optional]
 
@@ -40,7 +40,7 @@ hwcloud-smn:service[?options]
 == Options
 
 // component options: START
-The SMN component supports 4 options, which are listed below.
+The SimpleNotification component supports 2 options, which are listed below.
 
 
 
@@ -53,10 +53,10 @@ The SMN component supports 4 options, which are listed below.
 // component options: END
 
 // endpoint options: START
-The SMN endpoint is configured using URI syntax:
+The SimpleNotification endpoint is configured using URI syntax:
 
 ----
-hwcloud-smn:service
+hwcloud-smn:smnService
 ----
 
 with the following path and query parameters:
@@ -67,28 +67,29 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *service* | *Required* name of the available services in SMN |  | String
+| *smnService* | *Required* Name of SMN service to invoke |  | String
 |===
 
 
-=== Query Parameters (28 parameters):
+=== Query Parameters (13 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *operation* (producer) | *Required* The actual operation to invoke under the mentioned service |  | String
-| *serviceKeys* (advanced) | Configuration object of class org.apache.camel.component.huaweicloud.smn.models.ServiceKeys containing connectivity parameters like AK, SK, ProjectID and region | null | ServiceKeys
-| *authKey* | *Required* Authentication Key (AK) can be generated from your cloud account user settings | null | String
-| *secretKey* | *Required* Secret Key (AK) can be generated from your cloud account user settings |  | String
-| *projectId* | *Required* Project ID for your specific region. Refer your cloud account settings |  | String
-| *proxyHost* | *Optional* IP/Hostname of the proxy server to access the public cloud from your deployment landscape |  | String
-| *proxyPort* | *Optional* Port number of the proxy service on proxy host |  | String
-| *proxyUser* | *Optional* Proxy user id (if applicable) |  | String
-| *proxyPassword* | *Optional* Proxy user password (if applicable)  |  | String
-| *region*| *Required* Region where your SMN service is hosted |  | String
-| *messageTtl* | *Optional* Time-to-live parameter for each message published to the topic. The subcriptions which are added to the topic within this timeout value will receive the notification | 3600 | String
-| *ignoreSslVerification* | *Optional* whether to ignore SSL verification while connecting to huawei cloud services. It's not recommended in production environment  | false | Boolean
+| *authKey* (producer) | *Required* Authentication key for the cloud user |  | String
+| *ignoreSslVerification* (producer) | Ignore SSL verification | false | boolean
+| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...]
+| *messageTtl* (producer) | TTL for published message | 3600 | int
+| *operation* (producer) | *Required* Name of operation to perform |  | String
+| *projectId* (producer) | *Required* Cloud project ID |  | String
+| *proxyHost* (producer) | Proxy server ip/hostname |  | String
+| *proxyPassword* (producer) | Proxy authentication password |  | String
+| *proxyPort* (producer) | Proxy server port |  | int
+| *proxyUser* (producer) | Proxy authentication user |  | String
+| *region* (producer) | *Required* SMN service region |  | String
+| *secretKey* (producer) | *Required* Secret key for the cloud user |  | String
+| *serviceKeys* (producer) | Configuration object for cloud service authentication |  | ServiceKeys
 |===
 // endpoint options: END
 
@@ -145,4 +146,4 @@ from("direct:triggerRoute")
 .setProperty("CamelHwCloudSmnTemplateTags", constant(tags))
 .setProperty("CamelHwCloudSmnTemplateName", constant("hello-template"))
 .to("hwcloud-smn:publishMessageService?operation=publishAsTextMessage&authKey=*********&secretKey=********&projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc&region=cn-north-4")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index d83071e..0b56467 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -167,7 +167,6 @@
 ** xref:hbase-component.adoc[HBase]
 ** xref:hdfs-component.adoc[HDFS]
 ** xref:http-component.adoc[HTTP]
-** xref:hwcloud-component.adoc[Huawei Cloud SMN (Simple notification services)]
 ** xref:iec60870-client-component.adoc[IEC 60870 Client]
 ** xref:iec60870-server-component.adoc[IEC 60870 Server]
 ** xref:ignite-summary.adoc[Ignite]
@@ -303,6 +302,7 @@
 ** xref:sftp-component.adoc[SFTP]
 ** xref:sjms-component.adoc[Simple JMS]
 ** xref:sjms2-component.adoc[Simple JMS2]
+** xref:hwcloud-smn-component.adoc[SimpleNotification]
 ** xref:sip-component.adoc[SIP]
 ** xref:slack-component.adoc[Slack]
 ** xref:smpp-component.adoc[SMPP]
diff --git a/docs/components/modules/ROOT/pages/hwcloud-component.adoc b/docs/components/modules/ROOT/pages/hwcloud-smn-component.adoc
similarity index 70%
rename from docs/components/modules/ROOT/pages/hwcloud-component.adoc
rename to docs/components/modules/ROOT/pages/hwcloud-smn-component.adoc
index 677cfcd..66ac259 100644
--- a/docs/components/modules/ROOT/pages/hwcloud-component.adoc
+++ b/docs/components/modules/ROOT/pages/hwcloud-smn-component.adoc
@@ -1,12 +1,12 @@
 [[hwcloud-smn-component]]
-= Huawei Cloud Smn Component
+= SimpleNotification Component
 //THIS FILE IS COPIED: EDIT THE SOURCE FILE:
-:page-source: components/camel-huaweicloud-smn/src/main/docs/hwcloud-component.adoc
-:docTitle: Huawei Cloud SMN (Simple notification services)
+:page-source: components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc
+:docTitle: SimpleNotification
 :artifactId: camel-huaweicloud-smn
-:description: Send message to simple notification services
-:since: 3.8.0
-:supportLevel: Stable
+:description: Huawei Cloud component to integrate with SimpleNotification services
+:since: 3.8
+:supportLevel: Preview
 :component-header: Only producer is supported
 include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-smn.adoc[opts=optional]
 
@@ -42,7 +42,7 @@ hwcloud-smn:service[?options]
 == Options
 
 // component options: START
-The SMN component supports 4 options, which are listed below.
+The SimpleNotification component supports 2 options, which are listed below.
 
 
 
@@ -55,10 +55,10 @@ The SMN component supports 4 options, which are listed below.
 // component options: END
 
 // endpoint options: START
-The SMN endpoint is configured using URI syntax:
+The SimpleNotification endpoint is configured using URI syntax:
 
 ----
-hwcloud-smn:service
+hwcloud-smn:smnService
 ----
 
 with the following path and query parameters:
@@ -69,28 +69,29 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *service* | *Required* name of the available services in SMN |  | String
+| *smnService* | *Required* Name of SMN service to invoke |  | String
 |===
 
 
-=== Query Parameters (28 parameters):
+=== Query Parameters (13 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *operation* (producer) | *Required* The actual operation to invoke under the mentioned service |  | String
-| *serviceKeys* (advanced) | Configuration object of class org.apache.camel.component.huaweicloud.smn.models.ServiceKeys containing connectivity parameters like AK, SK, ProjectID and region | null | ServiceKeys
-| *authKey* | *Required* Authentication Key (AK) can be generated from your cloud account user settings | null | String
-| *secretKey* | *Required* Secret Key (AK) can be generated from your cloud account user settings |  | String
-| *projectId* | *Required* Project ID for your specific region. Refer your cloud account settings |  | String
-| *proxyHost* | *Optional* IP/Hostname of the proxy server to access the public cloud from your deployment landscape |  | String
-| *proxyPort* | *Optional* Port number of the proxy service on proxy host |  | String
-| *proxyUser* | *Optional* Proxy user id (if applicable) |  | String
-| *proxyPassword* | *Optional* Proxy user password (if applicable)  |  | String
-| *region*| *Required* Region where your SMN service is hosted |  | String
-| *messageTtl* | *Optional* Time-to-live parameter for each message published to the topic. The subcriptions which are added to the topic within this timeout value will receive the notification | 3600 | String
-| *ignoreSslVerification* | *Optional* whether to ignore SSL verification while connecting to huawei cloud services. It's not recommended in production environment  | false | Boolean
+| *authKey* (producer) | *Required* Authentication key for the cloud user |  | String
+| *ignoreSslVerification* (producer) | Ignore SSL verification | false | boolean
+| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...]
+| *messageTtl* (producer) | TTL for published message | 3600 | int
+| *operation* (producer) | *Required* Name of operation to perform |  | String
+| *projectId* (producer) | *Required* Cloud project ID |  | String
+| *proxyHost* (producer) | Proxy server ip/hostname |  | String
+| *proxyPassword* (producer) | Proxy authentication password |  | String
+| *proxyPort* (producer) | Proxy server port |  | int
+| *proxyUser* (producer) | Proxy authentication user |  | String
+| *region* (producer) | *Required* SMN service region |  | String
+| *secretKey* (producer) | *Required* Secret key for the cloud user |  | String
+| *serviceKeys* (producer) | Configuration object for cloud service authentication |  | ServiceKeys
 |===
 // endpoint options: END
 
@@ -147,4 +148,4 @@ from("direct:triggerRoute")
 .setProperty("CamelHwCloudSmnTemplateTags", constant(tags))
 .setProperty("CamelHwCloudSmnTemplateName", constant("hello-template"))
 .to("hwcloud-smn:publishMessageService?operation=publishAsTextMessage&authKey=*********&secretKey=********&projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc&region=cn-north-4")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------


[camel] 02/09: CAMEL-16001 - Added Huawei SMN component to Parent POM

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 6990b610cfbe6c2ad4622e2d538391b3ee526e89
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:01:55 2021 +0100

    CAMEL-16001 - Added Huawei SMN component to Parent POM
---
 parent/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index 244b267..14dc3b1 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1563,6 +1563,11 @@
 			</dependency>
 			<dependency>
 				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-huaweicloud-smn</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.camel</groupId>
 				<artifactId>camel-http-base</artifactId>
 				<version>${project.version}</version>
 			</dependency>


[camel] 03/09: CAMEL-16001 - Added Huawei SMN component to BOM

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 dca16239b19f45da08cc11e8ffb26f52ceccb1e5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:03:05 2021 +0100

    CAMEL-16001 - Added Huawei SMN component to BOM
---
 bom/camel-bom/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index 9ffe35a..3f6876f 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -959,6 +959,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-huaweicloud-smn</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-ical</artifactId>
         <version>${project.version}</version>
       </dependency>


[camel] 04/09: 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 471242b6c0209326858a42ee9f732ca190bdfb4b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:10:36 2021 +0100

    Regen
---
 bom/camel-bom/pom.xml | 4 ++--
 parent/pom.xml        | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index 3f6876f..3b6bd70 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -954,12 +954,12 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-hystrix</artifactId>
+        <artifactId>camel-huaweicloud-smn</artifactId>
         <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-huaweicloud-smn</artifactId>
+        <artifactId>camel-hystrix</artifactId>
         <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/parent/pom.xml b/parent/pom.xml
index 14dc3b1..15a6b67 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1563,22 +1563,22 @@
 			</dependency>
 			<dependency>
 				<groupId>org.apache.camel</groupId>
-				<artifactId>camel-huaweicloud-smn</artifactId>
+				<artifactId>camel-http-base</artifactId>
 				<version>${project.version}</version>
 			</dependency>
 			<dependency>
 				<groupId>org.apache.camel</groupId>
-				<artifactId>camel-http-base</artifactId>
+				<artifactId>camel-http-common</artifactId>
 				<version>${project.version}</version>
 			</dependency>
 			<dependency>
 				<groupId>org.apache.camel</groupId>
-				<artifactId>camel-http-common</artifactId>
+				<artifactId>camel-http</artifactId>
 				<version>${project.version}</version>
 			</dependency>
 			<dependency>
 				<groupId>org.apache.camel</groupId>
-				<artifactId>camel-http</artifactId>
+				<artifactId>camel-huaweicloud-smn</artifactId>
 				<version>${project.version}</version>
 			</dependency>
 			<dependency>


[camel] 05/09: Camel-16001 - Cleaned up POM and switch to junit5

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 0feca0c9332a0044c2e869aabe6502673e88876c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:18:59 2021 +0100

    Camel-16001 - Cleaned up POM and switch to junit5
---
 components/camel-huaweicloud-smn/pom.xml           | 92 +++++++---------------
 .../smn/SimpleNotificationProducer.java            |  7 +-
 .../huaweicloud/smn/SimpleNotificationUtils.java   |  4 +-
 .../smn/PublishTemplatedMessageTest.java           | 31 ++++----
 .../huaweicloud/smn/PublishTextMessageTest.java    | 34 ++++----
 .../smn/constants/SmnConstantsTest.java            |  7 +-
 .../smn/constants/SmnOperationsTest.java           |  9 ++-
 .../smn/constants/SmnPropertiesTest.java           | 19 ++---
 .../huaweicloud/smn/constants/SmnServicesTest.java |  7 +-
 core/camel-allcomponents/pom.xml                   |  4 +
 .../component/ComponentsBuilderFactory.java        | 13 +++
 .../src/generated/resources/metadata.json          | 22 ++++++
 .../builder/endpoint/EndpointBuilderFactory.java   |  1 +
 .../camel/builder/endpoint/EndpointBuilders.java   |  1 +
 .../builder/endpoint/StaticEndpointBuilders.java   | 43 ++++++++++
 15 files changed, 177 insertions(+), 117 deletions(-)

diff --git a/components/camel-huaweicloud-smn/pom.xml b/components/camel-huaweicloud-smn/pom.xml
index c860fb5..551c785 100644
--- a/components/camel-huaweicloud-smn/pom.xml
+++ b/components/camel-huaweicloud-smn/pom.xml
@@ -17,33 +17,22 @@
 
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>org.apache.camel</groupId>
+    <parent>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>components</artifactId>
+        <version>3.8.0-SNAPSHOT</version>
+    </parent>
+
   <artifactId>camel-huaweicloud-smn</artifactId>
   <packaging>jar</packaging>
-  <version>3.8.0-SNAPSHOT</version>
 
-  <name>Huawei Cloud SimpleNotification Component</name>
+  <name>Camel :: Huawei Cloud SimpleNotification Component</name>
+  <description>A Camel Huawei Simple Notification Component</description>
 
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   </properties>
 
-  <dependencyManagement>
-    <dependencies>
-      <!-- Camel BOM -->
-      <dependency>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-bom</artifactId>
-        <version>3.8.0-SNAPSHOT</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
   <dependencies>
-
     <!-- camel -->
     <dependency>
       <groupId>org.apache.camel</groupId>
@@ -68,50 +57,27 @@
       <version>3.0.30-rc</version>
     </dependency>
     
-    <!-- logging -->
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j-impl</artifactId>
-      <version>2.13.3</version>
-      <scope>test</scope>
-    </dependency>
-
-    <!-- testing -->
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-test</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <!-- testing -->
-    <dependency>
-      <groupId>org.junit.jupiter</groupId>
-      <artifactId>junit-jupiter-api</artifactId>
-      <version>5.7.0</version>
-      <scope>test</scope>
-    </dependency>
+        <!-- for testing -->
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test-spring-junit5</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-core-catalog</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-slf4j-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test-junit5</artifactId>
+            <scope>test</scope>
+        </dependency>
   </dependencies>
 
-  <build>
-    <defaultGoal>install</defaultGoal>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.8.1</version>
-        <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-resources-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <encoding>UTF-8</encoding>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>
diff --git a/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java b/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java
index 119ac6c..9251ea1 100644
--- a/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java
+++ b/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java
@@ -159,9 +159,10 @@ public class SimpleNotificationProducer extends DefaultProducer {
      * @param simpleNotificationEndpoint
      */
     private void validateAndInitializeSmnClient(SimpleNotificationEndpoint simpleNotificationEndpoint) {
-        if(simpleNotificationEndpoint.getSmnClient() != null) {
-            if(LOG.isWarnEnabled()) {
-                LOG.warn("Instance of SmnClient was set on the endpoint. Skipping creation of SmnClient from endpoint parameters");
+        if (simpleNotificationEndpoint.getSmnClient() != null) {
+            if (LOG.isWarnEnabled()) {
+                LOG.warn(
+                        "Instance of SmnClient was set on the endpoint. Skipping creation of SmnClient from endpoint parameters");
             }
             this.smnClient = simpleNotificationEndpoint.getSmnClient();
             return;
diff --git a/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationUtils.java b/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationUtils.java
index b7abd32..1c8ac33 100644
--- a/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationUtils.java
+++ b/components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationUtils.java
@@ -44,11 +44,11 @@ public class SimpleNotificationUtils {
 
         String result = SmnRegion.valueOf(region).getEndpoint();
 
-        if(LOG.isDebugEnabled()) {
+        if (LOG.isDebugEnabled()) {
             LOG.debug("endpoint resolved as {} for region {}", result, region);
         }
 
-        if(ObjectHelper.isEmpty(result)) {
+        if (ObjectHelper.isEmpty(result)) {
             LOG.error("Couldn't resolve endpoint for region :  {}", region);
             result = null;
         }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
index 3b48fdb..c2ae4bc 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTemplatedMessageTest.java
@@ -16,21 +16,25 @@
  */
 package org.apache.camel.component.huaweicloud.smn;
 
+import java.util.HashMap;
+import java.util.Map;
+
 import org.apache.camel.BindToRegistry;
 import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.huaweicloud.smn.constants.SmnProperties;
 import org.apache.camel.component.huaweicloud.smn.models.ServiceKeys;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.test.junit4.CamelTestSupport;
-import org.junit.Assert;
-import org.junit.Test;
+import org.apache.camel.test.junit5.CamelTestSupport;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import org.junit.jupiter.api.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.util.HashMap;
-import java.util.Map;
-
 public class PublishTemplatedMessageTest extends CamelTestSupport {
     private static final Logger LOGGER = LoggerFactory.getLogger(PublishTemplatedMessageTest.class.getName());
 
@@ -58,9 +62,9 @@ public class PublishTemplatedMessageTest extends CamelTestSupport {
                         .setProperty(SmnProperties.TEMPLATE_TAGS, constant(tags))
                         .setProperty(SmnProperties.TEMPLATE_NAME, constant("hello-template"))
                         .to("hwcloud-smn:publishMessageService?serviceKeys=#serviceKeys&operation=publishAsTemplatedMessage"
-                                + "&projectId=" + testConfiguration.getProperty("projectId") + "&region="
-                                + testConfiguration.getProperty("region") + "&ignoreSslVerification=true"
-                        + "&smnClient=#smnClient")
+                            + "&projectId=" + testConfiguration.getProperty("projectId") + "&region="
+                            + testConfiguration.getProperty("region") + "&ignoreSslVerification=true"
+                            + "&smnClient=#smnClient")
                         .log("templated notification sent")
                         .to("mock:publish_templated_message_result");
             }
@@ -76,11 +80,10 @@ public class PublishTemplatedMessageTest extends CamelTestSupport {
 
         mock.assertIsSatisfied();
 
-        Assert.assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
-        Assert.assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
-        Assert.assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID).toString().length() > 0);
-        Assert.assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID).toString().length() > 0);
+        assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
+        assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
+        assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID).toString().length() > 0);
+        assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID).toString().length() > 0);
     }
 
-
 }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
index 31d5907..c965d3d 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/PublishTextMessageTest.java
@@ -21,10 +21,13 @@ import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.huaweicloud.smn.constants.SmnProperties;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.test.junit4.CamelTestSupport;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
+import org.apache.camel.test.junit5.CamelTestSupport;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import org.junit.jupiter.api.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -44,11 +47,11 @@ public class PublishTextMessageTest extends CamelTestSupport {
                         .setProperty(SmnProperties.NOTIFICATION_TOPIC_NAME, constant(testConfiguration.getProperty("topic")))
                         .setProperty(SmnProperties.NOTIFICATION_TTL, constant(60))
                         .to("hwcloud-smn:publishMessageService?operation=publishAsTextMessage&authKey="
-                                + testConfiguration.getProperty("authKey") + "&secretKey="
-                                + testConfiguration.getProperty("secretKey") + "&projectId="
-                                + testConfiguration.getProperty("projectId") + "&region=" + testConfiguration.getProperty("region")
-                                + "&ignoreSslVerification=true"
-                                + "&smnClient=#smnClient")
+                            + testConfiguration.getProperty("authKey") + "&secretKey="
+                            + testConfiguration.getProperty("secretKey") + "&projectId="
+                            + testConfiguration.getProperty("projectId") + "&region=" + testConfiguration.getProperty("region")
+                            + "&ignoreSslVerification=true"
+                            + "&smnClient=#smnClient")
                         .log("publish message successful")
                         .to("mock:publish_text_message_result");
             }
@@ -65,14 +68,13 @@ public class PublishTextMessageTest extends CamelTestSupport {
 
         mock.assertIsSatisfied();
 
-        Assert.assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
-        Assert.assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
-        Assert.assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID).toString().length() > 0);
-        Assert.assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID).toString().length() > 0);
+        assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
+        assertNotNull(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
+        assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID).toString().length() > 0);
+        assertTrue(responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID).toString().length() > 0);
 
-        Assert.assertEquals("bf94b63a5dfb475994d3ac34664e24f2", responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
-        Assert.assertEquals("6a63a18b8bab40ffb71ebd9cb80d0085", responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
+        assertEquals("bf94b63a5dfb475994d3ac34664e24f2", responseExchange.getProperty(SmnProperties.SERVICE_MESSAGE_ID));
+        assertEquals("6a63a18b8bab40ffb71ebd9cb80d0085", responseExchange.getProperty(SmnProperties.SERVICE_REQUEST_ID));
     }
 
-
 }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
index 2b406a9..2d67b4e3 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnConstantsTest.java
@@ -16,12 +16,13 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import org.junit.Assert;
-import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
 
 public class SmnConstantsTest {
     @Test
     public void testConstants() {
-        Assert.assertEquals("urn:smn:%s:%s:%s", SmnConstants.TOPIC_URN_FORMAT);
+        assertEquals("urn:smn:%s:%s:%s", SmnConstants.TOPIC_URN_FORMAT);
     }
 }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
index a8467b3..30a04dd 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnOperationsTest.java
@@ -16,13 +16,14 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import org.junit.Assert;
-import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
 
 public class SmnOperationsTest {
     @Test
     public void testOperationsName() {
-        Assert.assertEquals("publishAsTextMessage", SmnOperations.PUBLISH_AS_TEXT_MESSAGE);
-        Assert.assertEquals("publishAsTemplatedMessage", SmnOperations.PUBLISH_AS_TEMPLATED_MESSAGE);
+        assertEquals("publishAsTextMessage", SmnOperations.PUBLISH_AS_TEXT_MESSAGE);
+        assertEquals("publishAsTemplatedMessage", SmnOperations.PUBLISH_AS_TEMPLATED_MESSAGE);
     }
 }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
index 57dff53..ee5ff7e 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnPropertiesTest.java
@@ -16,18 +16,19 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import org.junit.Assert;
-import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
 
 public class SmnPropertiesTest {
     @Test
     public void testHwCloudSmnPropertyNames() {
-        Assert.assertEquals("CamelHwCloudSmnTemplateName", SmnProperties.TEMPLATE_NAME);
-        Assert.assertEquals("CamelHwCloudSmnTemplateTags", SmnProperties.TEMPLATE_TAGS);
-        Assert.assertEquals("CamelHwCloudSmnOperation", SmnProperties.SMN_OPERATION);
-        Assert.assertEquals("CamelHwCloudSmnTopic", SmnProperties.NOTIFICATION_TOPIC_NAME);
-        Assert.assertEquals("CamelHwCloudSmnSubject", SmnProperties.NOTIFICATION_SUBJECT);
-        Assert.assertEquals("CamelHwCloudSmnMesssageId", SmnProperties.SERVICE_MESSAGE_ID);
-        Assert.assertEquals("CamelHwCloudSmnRequestId", SmnProperties.SERVICE_REQUEST_ID);
+        assertEquals("CamelHwCloudSmnTemplateName", SmnProperties.TEMPLATE_NAME);
+        assertEquals("CamelHwCloudSmnTemplateTags", SmnProperties.TEMPLATE_TAGS);
+        assertEquals("CamelHwCloudSmnOperation", SmnProperties.SMN_OPERATION);
+        assertEquals("CamelHwCloudSmnTopic", SmnProperties.NOTIFICATION_TOPIC_NAME);
+        assertEquals("CamelHwCloudSmnSubject", SmnProperties.NOTIFICATION_SUBJECT);
+        assertEquals("CamelHwCloudSmnMesssageId", SmnProperties.SERVICE_MESSAGE_ID);
+        assertEquals("CamelHwCloudSmnRequestId", SmnProperties.SERVICE_REQUEST_ID);
     }
 }
diff --git a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
index b8af8ac..1c5efbf 100644
--- a/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
+++ b/components/camel-huaweicloud-smn/src/test/java/org/apache/camel/component/huaweicloud/smn/constants/SmnServicesTest.java
@@ -16,12 +16,13 @@
  */
 package org.apache.camel.component.huaweicloud.smn.constants;
 
-import org.junit.Assert;
-import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
 
 public class SmnServicesTest {
     @Test
     public void testSmnServicesName() {
-        Assert.assertEquals("publishMessageService", SmnServices.PUBLISH_MESSAGE);
+        assertEquals("publishMessageService", SmnServices.PUBLISH_MESSAGE);
     }
 }
diff --git a/core/camel-allcomponents/pom.xml b/core/camel-allcomponents/pom.xml
index f19192c..3549137 100644
--- a/core/camel-allcomponents/pom.xml
+++ b/core/camel-allcomponents/pom.xml
@@ -671,6 +671,10 @@
 		</dependency>
 		<dependency>
 			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-huaweicloud-smn</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
 			<artifactId>camel-hystrix</artifactId>
 		</dependency>
 		<dependency>
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index b7ef2e3..10e106c 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -2255,6 +2255,19 @@ public interface ComponentsBuilderFactory {
         return org.apache.camel.builder.component.dsl.HttpsComponentBuilderFactory.https();
     }
     /**
+     * SimpleNotification (camel-huaweicloud-smn)
+     * Huawei Cloud component to integrate with SimpleNotification services
+     * 
+     * Category: cloud,messaging
+     * Since: 3.8
+     * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+     * 
+     * @return the dsl builder
+     */
+    static org.apache.camel.builder.component.dsl.HwcloudSmnComponentBuilderFactory.HwcloudSmnComponentBuilder hwcloudSmn() {
+        return org.apache.camel.builder.component.dsl.HwcloudSmnComponentBuilderFactory.hwcloudSmn();
+    }
+    /**
      * IEC 60870 Client (camel-iec60870)
      * IEC 60870 supervisory control and data acquisition (SCADA) client using
      * NeoSCADA implementation.
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json
index 142733a..af7e6f1 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3701,6 +3701,28 @@
     "producerOnly": true,
     "lenientProperties": true
   },
+  "HwcloudSmnComponentBuilderFactory": {
+    "kind": "component",
+    "name": "hwcloud-smn",
+    "title": "SimpleNotification",
+    "description": "Huawei Cloud component to integrate with SimpleNotification services",
+    "deprecated": false,
+    "firstVersion": "3.8.0",
+    "label": "cloud,messaging",
+    "javaType": "org.apache.camel.component.huaweicloud.smn.SimpleNotificationComponent",
+    "supportLevel": "Preview",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-huaweicloud-smn",
+    "version": "3.8.0-SNAPSHOT",
+    "scheme": "hwcloud-smn",
+    "extendsScheme": "",
+    "syntax": "hwcloud-smn:smnService",
+    "async": false,
+    "api": false,
+    "consumerOnly": false,
+    "producerOnly": true,
+    "lenientProperties": false
+  },
   "Iec60870ClientComponentBuilderFactory": {
     "kind": "component",
     "name": "iec60870-client",
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index ab6bf03..a632277 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -311,6 +311,7 @@ public interface EndpointBuilderFactory
             org.apache.camel.builder.endpoint.dsl.Ses2EndpointBuilderFactory.Ses2Builders,
             org.apache.camel.builder.endpoint.dsl.SesEndpointBuilderFactory.SesBuilders,
             org.apache.camel.builder.endpoint.dsl.SftpEndpointBuilderFactory.SftpBuilders,
+            org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory.SimpleNotificationBuilders,
             org.apache.camel.builder.endpoint.dsl.SipEndpointBuilderFactory.SipBuilders,
             org.apache.camel.builder.endpoint.dsl.Sjms2EndpointBuilderFactory.Sjms2Builders,
             org.apache.camel.builder.endpoint.dsl.SjmsEndpointBuilderFactory.SjmsBuilders,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index 558d439..43354bb 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -308,6 +308,7 @@ public interface EndpointBuilders
             org.apache.camel.builder.endpoint.dsl.Ses2EndpointBuilderFactory,
             org.apache.camel.builder.endpoint.dsl.SesEndpointBuilderFactory,
             org.apache.camel.builder.endpoint.dsl.SftpEndpointBuilderFactory,
+            org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory,
             org.apache.camel.builder.endpoint.dsl.SipEndpointBuilderFactory,
             org.apache.camel.builder.endpoint.dsl.Sjms2EndpointBuilderFactory,
             org.apache.camel.builder.endpoint.dsl.SjmsEndpointBuilderFactory,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 961f622..abd92cf 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -7599,6 +7599,49 @@ public class StaticEndpointBuilders {
         return org.apache.camel.builder.endpoint.dsl.HttpEndpointBuilderFactory.endpointBuilder(componentName, path);
     }
     /**
+     * SimpleNotification (camel-huaweicloud-smn)
+     * Huawei Cloud component to integrate with SimpleNotification services
+     * 
+     * Category: cloud,messaging
+     * Since: 3.8
+     * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+     * 
+     * Syntax: <code>hwcloud-smn:smnService</code>
+     * 
+     * Path parameter: smnService (required)
+     * Name of SMN service to invoke
+     * 
+     * @param path smnService
+     * @return the dsl builder
+     */
+    public static org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder hwcloudSmn(
+            String path) {
+        return org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory.endpointBuilder("hwcloud-smn", path);
+    }
+    /**
+     * SimpleNotification (camel-huaweicloud-smn)
+     * Huawei Cloud component to integrate with SimpleNotification services
+     * 
+     * Category: cloud,messaging
+     * Since: 3.8
+     * Maven coordinates: org.apache.camel:camel-huaweicloud-smn
+     * 
+     * Syntax: <code>hwcloud-smn:smnService</code>
+     * 
+     * Path parameter: smnService (required)
+     * Name of SMN service to invoke
+     * 
+     * @param componentName to use a custom component name for the endpoint
+     * instead of the default name
+     * @param path smnService
+     * @return the dsl builder
+     */
+    public static org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder hwcloudSmn(
+            String componentName,
+            String path) {
+        return org.apache.camel.builder.endpoint.dsl.SimpleNotificationEndpointBuilderFactory.endpointBuilder(componentName, path);
+    }
+    /**
      * IEC 60870 Client (camel-iec60870)
      * IEC 60870 supervisory control and data acquisition (SCADA) client using
      * NeoSCADA implementation.


[camel] 08/09: CAMEL-16001 - Correct naming for 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 7d0ba5b93ea91cb3219e0abe4a13de9e894805be
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 28 07:20:58 2021 +0100

    CAMEL-16001 - Correct naming for docs
---
 .../src/main/docs/{hwcloud-component.adoc => hwcloud-smn-component.adoc}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/components/camel-huaweicloud-smn/src/main/docs/hwcloud-component.adoc b/components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc
similarity index 100%
rename from components/camel-huaweicloud-smn/src/main/docs/hwcloud-component.adoc
rename to components/camel-huaweicloud-smn/src/main/docs/hwcloud-smn-component.adoc