This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 40f160c624d CAMEL-14831: Add rocketmq-starter
40f160c624d is described below
commit 40f160c624df3f8ea41e88c76c139f44ffe1c818
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Dec 7 10:46:53 2022 +0100
CAMEL-14831: Add rocketmq-starter
---
.../camel/springboot/catalog/components.properties | 1 +
.../springboot/catalog/components/rocketmq.json | 82 +++++++
components-starter/camel-rocketmq-starter/pom.xml | 56 +++++
.../src/main/docs/rocketmq.json | 127 +++++++++++
.../RocketMQComponentAutoConfiguration.java | 79 +++++++
.../springboot/RocketMQComponentConfiguration.java | 238 +++++++++++++++++++++
.../src/main/resources/META-INF/LICENSE.txt | 203 ++++++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../src/main/resources/META-INF/spring.factories | 19 ++
.../src/main/resources/META-INF/spring.provides | 17 ++
components-starter/pom.xml | 1 +
tooling/camel-spring-boot-bom/pom.xml | 5 +
tooling/camel-spring-boot-dependencies/pom.xml | 10 +
13 files changed, 849 insertions(+)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
index 4771dd42b10..f82fc517571 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
@@ -272,6 +272,7 @@ rest-openapi
rest-swagger
resteasy
robotframework
+rocketmq
rss
saga
salesforce
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rocketmq.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rocketmq.json
new file mode 100644
index 00000000000..dbe63c5e6bf
--- /dev/null
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rocketmq.json
@@ -0,0 +1,82 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "rocketmq",
+ "title": "RocketMQ",
+ "description": "Send and receive messages from RocketMQ cluster.",
+ "deprecated": false,
+ "firstVersion": "3.20.0",
+ "label": "messaging",
+ "javaType": "org.apache.camel.component.rocketmq.RocketMQComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel.springboot",
+ "artifactId": "camel-rocketmq-starter",
+ "version": "3.20.0-SNAPSHOT",
+ "scheme": "rocketmq",
+ "extendsScheme": "",
+ "syntax": "rocketmq:topicName",
+ "async": true,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": false,
+ "lenientProperties": false
+ },
+ "componentProperties": {
+ "namesrvAddr": { "kind": "property", "displayName": "Namesrv Addr",
"group": "common", "label": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "localhost:9876", "description": "Name server
address of RocketMQ cluster." },
+ "sendTag": { "kind": "property", "displayName": "Send Tag", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Each message would be sent with this tag." },
+ "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
+ "consumerGroup": { "kind": "property", "displayName": "Consumer Group",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Consumer group name." },
+ "subscribeTags": { "kind": "property", "displayName": "Subscribe Tags",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "*", "description": "Subscribe tags of
consumer. Multiple tags could be split by , such as TagATagB" },
+ "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 [...]
+ "producerGroup": { "kind": "property", "displayName": "Producer Group",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Producer group name." },
+ "replyToConsumerGroup": { "kind": "property", "displayName": "Reply To
Consumer Group", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Consumer group name used
for receiving response." },
+ "replyToTopic": { "kind": "property", "displayName": "Reply To Topic",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Topic used for receiving response when using
in-out pattern." },
+ "waitForSendResult": { "kind": "property", "displayName": "Wait For Send
Result", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether waiting for
send result before routing to next endpoint." },
+ "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 [...]
+ "requestTimeoutCheckerIntervalMillis": { "kind": "property",
"displayName": "Request Timeout Checker Interval Millis", "group": "advanced",
"label": "advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Check interval milliseconds of request timeout." },
+ "requestTimeoutMillis": { "kind": "property", "displayName": "Request
Timeout Millis", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10000, "description": "Timeout milliseconds of
receiving response when using in-out pattern." },
+ "accessKey": { "kind": "property", "displayName": "Access Key", "group":
"secret", "label": "secret", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"description": "Access key for RocketMQ ACL." },
+ "secretKey": { "kind": "property", "displayName": "Secret Key", "group":
"secret", "label": "secret", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"description": "Secret key for RocketMQ ACL." }
+ },
+ "headers": {
+ "CamelRockerMQTopic": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Topic of message", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#TOPIC" },
+ "CamelRockerMQTag": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Tag of message", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#TAG" },
+ "CamelRockerMQKey": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Key of message", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#KEY" },
+ "CamelRockerMQOverrideTopicName": { "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "If this header is set, the message will be
routed to the topic specified by this header instead of the origin topic in
endpoint.", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#OVERRIDE_TOPIC_NAME" },
+ "CamelRockerMQOverrideTag": { "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "If this header is set, the message's tag will
be set to value specified by this header instead of the sendTag defined in
endpoint.", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#OVERRIDE_TAG" },
+ "CamelRockerMQOverrideMessageKey": { "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Set keys for the message. When using in-out
pattern, the value will be prepended to the generated keys", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#OVERRIDE_MESSAGE_KEY" },
+ "CamelRockerMQBrokerName": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Broker name", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#BROKER_NAME" },
+ "CamelRockerMQQueueId": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Queue ID", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#QUEUE_ID" },
+ "CamelRockerMQStoreSize": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Store size", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#STORE_SIZE" },
+ "CamelRockerMQQueueOffset": { "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"long", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Queue offset", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#QUEUE_OFFSET" },
+ "CamelRockerMQSysFlag": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Sys flag", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#SYS_FLAG" },
+ "CamelRockerMQBornTimestamp": { "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"long", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Born timestamp", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#BORN_TIMESTAMP" },
+ "CamelRockerMQBornHost": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType":
"java.net.SocketAddress", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Born host",
"constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#BORN_HOST" },
+ "CamelRockerMQStoreTimestamp": { "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"long", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Store timestamp", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#STORE_TIMESTAMP" },
+ "CamelRockerMQStoreHost": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType":
"java.net.SocketAddress", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Store host",
"constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#STORE_HOST" },
+ "CamelRockerMQMsgId": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Msg ID", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#MSG_ID" },
+ "CamelRockerMQCommitLogOffset": { "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"long", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Commit log offset", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#COMMIT_LOG_OFFSET" },
+ "CamelRockerMQBodyCrc": { "kind": "header", "displayName": "", "group":
"consumer", "label": "consumer", "required": false, "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Body CRC", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#BODY_CRC" },
+ "CamelRockerMQReconsumeTimes": { "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Reconsume times", "constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#RECONSUME_TIMES" },
+ "CamelRockerMQPreparedTransactionOffset": { "kind": "header",
"displayName": "", "group": "consumer", "label": "consumer", "required": false,
"javaType": "long", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Prepard transaction offset",
"constantName":
"org.apache.camel.component.rocketmq.RocketMQConstants#PREPARED_TRANSACTION_OFFSET"
}
+ },
+ "properties": {
+ "topicName": { "kind": "path", "displayName": "Topic Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Topic name of this endpoint." },
+ "namesrvAddr": { "kind": "parameter", "displayName": "Namesrv Addr",
"group": "common", "label": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "localhost:9876", "description": "Name server
address of RocketMQ cluster." },
+ "consumerGroup": { "kind": "parameter", "displayName": "Consumer Group",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Consumer group name." },
+ "subscribeTags": { "kind": "parameter", "displayName": "Subscribe Tags",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "*", "description": "Subscribe tags of
consumer. Multiple tags could be split by , such as TagATagB" },
+ "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Allows for bridging the consumer to the Camel routing Error
Handler, which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now [...]
+ "exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By default the
con [...]
+ "exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
+ "producerGroup": { "kind": "parameter", "displayName": "Producer Group",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Producer group name." },
+ "replyToConsumerGroup": { "kind": "parameter", "displayName": "Reply To
Consumer Group", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Consumer group name used
for receiving response." },
+ "replyToTopic": { "kind": "parameter", "displayName": "Reply To Topic",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Topic used for receiving response when using
in-out pattern." },
+ "sendTag": { "kind": "parameter", "displayName": "Send Tag", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Each message would be sent with this tag." },
+ "waitForSendResult": { "kind": "parameter", "displayName": "Wait For Send
Result", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether waiting for
send result before routing to next endpoint." },
+ "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"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 other [...]
+ "requestTimeoutCheckerIntervalMillis": { "kind": "parameter",
"displayName": "Request Timeout Checker Interval Millis", "group": "advanced",
"label": "advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Check interval milliseconds of request timeout." },
+ "requestTimeoutMillis": { "kind": "parameter", "displayName": "Request
Timeout Millis", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10000, "description": "Timeout milliseconds of
receiving response when using in-out pattern." },
+ "accessKey": { "kind": "parameter", "displayName": "Access Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "Access key for RocketMQ ACL." },
+ "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "Secret key for RocketMQ ACL." }
+ }
+}
diff --git a/components-starter/camel-rocketmq-starter/pom.xml
b/components-starter/camel-rocketmq-starter/pom.xml
new file mode 100644
index 00000000000..87cc96ea4e3
--- /dev/null
+++ b/components-starter/camel-rocketmq-starter/pom.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>components-starter</artifactId>
+ <version>3.20.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-rocketmq-starter</artifactId>
+ <packaging>jar</packaging>
+ <!-- <name>Camel SB Starters :: Name Here</name>-->
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ <version>${spring-boot-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-rocketmq</artifactId>
+ <version>${camel-version}</version>
+ <!--START OF GENERATED CODE-->
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ <!--END OF GENERATED CODE-->
+ </dependency>
+ <!--START OF GENERATED CODE-->
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-core-starter</artifactId>
+ </dependency>
+ <!--END OF GENERATED CODE-->
+ </dependencies>
+</project>
diff --git
a/components-starter/camel-rocketmq-starter/src/main/docs/rocketmq.json
b/components-starter/camel-rocketmq-starter/src/main/docs/rocketmq.json
new file mode 100644
index 00000000000..3a78b4b4277
--- /dev/null
+++ b/components-starter/camel-rocketmq-starter/src/main/docs/rocketmq.json
@@ -0,0 +1,127 @@
+{
+ "groups": [
+ {
+ "name": "camel.component.rocketmq",
+ "type":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.customizer",
+ "type":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "sourceMethod": "getCustomizer()"
+ }
+ ],
+ "properties": [
+ {
+ "name": "camel.component.rocketmq.access-key",
+ "type": "java.lang.String",
+ "description": "Access key for RocketMQ ACL.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.autowired-enabled",
+ "type": "java.lang.Boolean",
+ "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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": true
+ },
+ {
+ "name": "camel.component.rocketmq.bridge-error-handler",
+ "type": "java.lang.Boolean",
+ "description": "Allows for bridging the consumer to the Camel routing
Error Handler, which mean any exceptions occurred while the consumer is trying
to pickup incoming messages, or the likes, will now be processed as a message
and handled by the routing Error Handler. By default the consumer will use the
org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be
logged at WARN or ERROR level and ignored.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": false
+ },
+ {
+ "name": "camel.component.rocketmq.consumer-group",
+ "type": "java.lang.String",
+ "description": "Consumer group name.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.customizer.enabled",
+ "type": "java.lang.Boolean",
+ "sourceType":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties"
+ },
+ {
+ "name": "camel.component.rocketmq.enabled",
+ "type": "java.lang.Boolean",
+ "description": "Whether to enable auto configuration of the rocketmq
component. This is enabled by default.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.lazy-start-producer",
+ "type": "java.lang.Boolean",
+ "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
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 [...]
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": false
+ },
+ {
+ "name": "camel.component.rocketmq.namesrv-addr",
+ "type": "java.lang.String",
+ "description": "Name server address of RocketMQ cluster.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": "localhost:9876"
+ },
+ {
+ "name": "camel.component.rocketmq.producer-group",
+ "type": "java.lang.String",
+ "description": "Producer group name.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.reply-to-consumer-group",
+ "type": "java.lang.String",
+ "description": "Consumer group name used for receiving response.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.reply-to-topic",
+ "type": "java.lang.String",
+ "description": "Topic used for receiving response when using in-out
pattern.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name":
"camel.component.rocketmq.request-timeout-checker-interval-millis",
+ "type": "java.lang.Long",
+ "description": "Check interval milliseconds of request timeout.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": 1000
+ },
+ {
+ "name": "camel.component.rocketmq.request-timeout-millis",
+ "type": "java.lang.Long",
+ "description": "Timeout milliseconds of receiving response when using
in-out pattern.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": 10000
+ },
+ {
+ "name": "camel.component.rocketmq.secret-key",
+ "type": "java.lang.String",
+ "description": "Secret key for RocketMQ ACL.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.send-tag",
+ "type": "java.lang.String",
+ "description": "Each message would be sent with this tag.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration"
+ },
+ {
+ "name": "camel.component.rocketmq.subscribe-tags",
+ "type": "java.lang.String",
+ "description": "Subscribe tags of consumer. Multiple tags could be split
by , such as TagATagB",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": "*"
+ },
+ {
+ "name": "camel.component.rocketmq.wait-for-send-result",
+ "type": "java.lang.Boolean",
+ "description": "Whether waiting for send result before routing to next
endpoint.",
+ "sourceType":
"org.apache.camel.component.rocketmq.springboot.RocketMQComponentConfiguration",
+ "defaultValue": false
+ }
+ ],
+ "hints": []
+}
\ No newline at end of file
diff --git
a/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentAutoConfiguration.java
b/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentAutoConfiguration.java
new file mode 100644
index 00000000000..595546f3d63
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentAutoConfiguration.java
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rocketmq.springboot;
+
+import javax.annotation.Generated;
+import org.apache.camel.CamelContext;
+import org.apache.camel.Component;
+import org.apache.camel.component.rocketmq.RocketMQComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.apache.camel.spring.boot.ComponentConfigurationProperties;
+import org.apache.camel.spring.boot.util.CamelPropertiesHelper;
+import
org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans;
+import org.apache.camel.spring.boot.util.ConditionalOnHierarchicalProperties;
+import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import
org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Conditional;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Lazy;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.springboot.maven.SpringBootAutoConfigurationMojo")
+@Configuration(proxyBeanMethods = false)
+@Conditional(ConditionalOnCamelContextAndAutoConfigurationBeans.class)
+@EnableConfigurationProperties({ComponentConfigurationProperties.class,RocketMQComponentConfiguration.class})
+@ConditionalOnHierarchicalProperties({"camel.component",
"camel.component.rocketmq"})
+@AutoConfigureAfter(CamelAutoConfiguration.class)
+public class RocketMQComponentAutoConfiguration {
+
+ @Autowired
+ private ApplicationContext applicationContext;
+ private final CamelContext camelContext;
+ @Autowired
+ private RocketMQComponentConfiguration configuration;
+
+ public RocketMQComponentAutoConfiguration(
+ org.apache.camel.CamelContext camelContext) {
+ this.camelContext = camelContext;
+ }
+
+ @Lazy
+ @Bean
+ public ComponentCustomizer configureRocketMQComponent() {
+ return new ComponentCustomizer() {
+ @Override
+ public void configure(String name, Component target) {
+ CamelPropertiesHelper.copyProperties(camelContext,
configuration, target);
+ }
+ @Override
+ public boolean isEnabled(String name, Component target) {
+ return HierarchicalPropertiesEvaluator.evaluate(
+ applicationContext,
+ "camel.component.customizer",
+ "camel.component.rocketmq.customizer")
+ && target instanceof RocketMQComponent;
+ }
+ };
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentConfiguration.java
b/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentConfiguration.java
new file mode 100644
index 00000000000..2d4384ff70f
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/java/org/apache/camel/component/rocketmq/springboot/RocketMQComponentConfiguration.java
@@ -0,0 +1,238 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rocketmq.springboot;
+
+import javax.annotation.Generated;
+import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * Send and receive messages from RocketMQ cluster.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.springboot.maven.SpringBootAutoConfigurationMojo")
+@ConfigurationProperties(prefix = "camel.component.rocketmq")
+public class RocketMQComponentConfiguration
+ extends
+ ComponentConfigurationPropertiesCommon {
+
+ /**
+ * Whether to enable auto configuration of the rocketmq component. This is
+ * enabled by default.
+ */
+ private Boolean enabled;
+ /**
+ * Name server address of RocketMQ cluster.
+ */
+ private String namesrvAddr = "localhost:9876";
+ /**
+ * Each message would be sent with this tag.
+ */
+ private String sendTag;
+ /**
+ * Allows for bridging the consumer to the Camel routing Error Handler,
+ * which mean any exceptions occurred while the consumer is trying to
pickup
+ * incoming messages, or the likes, will now be processed as a message and
+ * handled by the routing Error Handler. By default the consumer will use
+ * the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that
+ * will be logged at WARN or ERROR level and ignored.
+ */
+ private Boolean bridgeErrorHandler = false;
+ /**
+ * Consumer group name.
+ */
+ private String consumerGroup;
+ /**
+ * Subscribe tags of consumer. Multiple tags could be split by , such as
+ * TagATagB
+ */
+ private String subscribeTags = "*";
+ /**
+ * 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.
+ */
+ private Boolean lazyStartProducer = false;
+ /**
+ * Producer group name.
+ */
+ private String producerGroup;
+ /**
+ * Consumer group name used for receiving response.
+ */
+ private String replyToConsumerGroup;
+ /**
+ * Topic used for receiving response when using in-out pattern.
+ */
+ private String replyToTopic;
+ /**
+ * Whether waiting for send result before routing to next endpoint.
+ */
+ private Boolean waitForSendResult = false;
+ /**
+ * 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.
+ */
+ private Boolean autowiredEnabled = true;
+ /**
+ * Check interval milliseconds of request timeout.
+ */
+ private Long requestTimeoutCheckerIntervalMillis = 1000L;
+ /**
+ * Timeout milliseconds of receiving response when using in-out pattern.
+ */
+ private Long requestTimeoutMillis = 10000L;
+ /**
+ * Access key for RocketMQ ACL.
+ */
+ private String accessKey;
+ /**
+ * Secret key for RocketMQ ACL.
+ */
+ private String secretKey;
+
+ public String getNamesrvAddr() {
+ return namesrvAddr;
+ }
+
+ public void setNamesrvAddr(String namesrvAddr) {
+ this.namesrvAddr = namesrvAddr;
+ }
+
+ public String getSendTag() {
+ return sendTag;
+ }
+
+ public void setSendTag(String sendTag) {
+ this.sendTag = sendTag;
+ }
+
+ public Boolean getBridgeErrorHandler() {
+ return bridgeErrorHandler;
+ }
+
+ public void setBridgeErrorHandler(Boolean bridgeErrorHandler) {
+ this.bridgeErrorHandler = bridgeErrorHandler;
+ }
+
+ public String getConsumerGroup() {
+ return consumerGroup;
+ }
+
+ public void setConsumerGroup(String consumerGroup) {
+ this.consumerGroup = consumerGroup;
+ }
+
+ public String getSubscribeTags() {
+ return subscribeTags;
+ }
+
+ public void setSubscribeTags(String subscribeTags) {
+ this.subscribeTags = subscribeTags;
+ }
+
+ public Boolean getLazyStartProducer() {
+ return lazyStartProducer;
+ }
+
+ public void setLazyStartProducer(Boolean lazyStartProducer) {
+ this.lazyStartProducer = lazyStartProducer;
+ }
+
+ public String getProducerGroup() {
+ return producerGroup;
+ }
+
+ public void setProducerGroup(String producerGroup) {
+ this.producerGroup = producerGroup;
+ }
+
+ public String getReplyToConsumerGroup() {
+ return replyToConsumerGroup;
+ }
+
+ public void setReplyToConsumerGroup(String replyToConsumerGroup) {
+ this.replyToConsumerGroup = replyToConsumerGroup;
+ }
+
+ public String getReplyToTopic() {
+ return replyToTopic;
+ }
+
+ public void setReplyToTopic(String replyToTopic) {
+ this.replyToTopic = replyToTopic;
+ }
+
+ public Boolean getWaitForSendResult() {
+ return waitForSendResult;
+ }
+
+ public void setWaitForSendResult(Boolean waitForSendResult) {
+ this.waitForSendResult = waitForSendResult;
+ }
+
+ public Boolean getAutowiredEnabled() {
+ return autowiredEnabled;
+ }
+
+ public void setAutowiredEnabled(Boolean autowiredEnabled) {
+ this.autowiredEnabled = autowiredEnabled;
+ }
+
+ public Long getRequestTimeoutCheckerIntervalMillis() {
+ return requestTimeoutCheckerIntervalMillis;
+ }
+
+ public void setRequestTimeoutCheckerIntervalMillis(
+ Long requestTimeoutCheckerIntervalMillis) {
+ this.requestTimeoutCheckerIntervalMillis =
requestTimeoutCheckerIntervalMillis;
+ }
+
+ public Long getRequestTimeoutMillis() {
+ return requestTimeoutMillis;
+ }
+
+ public void setRequestTimeoutMillis(Long requestTimeoutMillis) {
+ this.requestTimeoutMillis = requestTimeoutMillis;
+ }
+
+ public String getAccessKey() {
+ return accessKey;
+ }
+
+ public void setAccessKey(String accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ public String getSecretKey() {
+ return secretKey;
+ }
+
+ public void setSecretKey(String secretKey) {
+ this.secretKey = secretKey;
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/LICENSE.txt
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
diff --git
a/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/NOTICE.txt
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+ =========================================================================
+ == NOTICE file corresponding to the section 4 d of ==
+ == the Apache License, Version 2.0, ==
+ == in this case for the Apache Camel distribution. ==
+ =========================================================================
+
+ This product includes software developed by
+ The Apache Software Foundation (http://www.apache.org/).
+
+ Please read the different LICENSE files present in the licenses directory of
+ this distribution.
diff --git
a/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.factories
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 00000000000..ce0458fabf1
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.rocketmq.springboot.RocketMQComponentAutoConfiguration
diff --git
a/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.provides
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 00000000000..79bd5dc6ae8
--- /dev/null
+++
b/components-starter/camel-rocketmq-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,17 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+provides: camel-rocketmq
diff --git a/components-starter/pom.xml b/components-starter/pom.xml
index 9e24e95ddcb..db5884f7280 100644
--- a/components-starter/pom.xml
+++ b/components-starter/pom.xml
@@ -368,6 +368,7 @@
<module>camel-rest-swagger-starter</module>
<module>camel-resteasy-starter</module>
<module>camel-robotframework-starter</module>
+ <module>camel-rocketmq-starter</module>
<module>camel-rss-starter</module>
<module>camel-rxjava-starter</module>
<module>camel-saga-starter</module>
diff --git a/tooling/camel-spring-boot-bom/pom.xml
b/tooling/camel-spring-boot-bom/pom.xml
index d19bc742817..0097e1cbe65 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -1373,6 +1373,11 @@
<artifactId>camel-robotframework-starter</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-rocketmq-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-rss-starter</artifactId>
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index d1b3e82c50f..edeade47d72 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -1591,6 +1591,11 @@
<artifactId>camel-robotframework-starter</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-rocketmq-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-rss-starter</artifactId>
@@ -3717,6 +3722,11 @@
<artifactId>camel-robotframework</artifactId>
<version>3.20.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-rocketmq</artifactId>
+ <version>3.20.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-route-parser</artifactId>