davsclaus commented on code in PR #30563:
URL: https://github.com/apache/camel/pull/30563#discussion_r4654539510
##########
components/camel-alibaba/camel-alibaba-mns/src/main/java/org/apache/camel/component/alibaba/mns/MNSEndpoint.java:
##########
@@ -59,52 +59,71 @@
+ " property"))
public class MNSEndpoint extends ScheduledPollEndpoint {
- @UriPath(description = "Queue name, or topic name when using the topic URI
syntax", displayName = "Queue Name")
+ @UriPath(description = "The name of the queue, or of the topic for a topic
endpoint such as alibaba-mns:topic:myTopic. The"
+ + " CamelAlibabaMnsQueueName exchange property
replaces the name of the queue for sendMessage and"
+ + " deleteMessage.",
+ displayName = "Queue Name")
@Metadata(required = true)
private String queueName;
- @UriParam(description = "Operation to perform by the producer. The
consumer does not use it: it receives the messages"
- + " of the queue",
+ @UriParam(description = "The operation that the producer performs. If not
set, the producer performs publishMessage for a"
+ + " topic endpoint and sendMessage otherwise. The
CamelAlibabaMnsOperation header replaces this"
+ + " option, and an exchange property of the same
name replaces both.",
displayName = "Operation", enums =
"sendMessage,deleteMessage,publishMessage")
private String operation;
- @UriParam(description = "Alibaba Cloud region", displayName = "Region")
+ @UriParam(description = "The region ID of Simple Message Queue, for
example cn-hangzhou.", displayName = "Region")
@Metadata(required = true)
private String region;
- @UriParam(description = "MNS account endpoint, for example
https://123456.mns.cn-hangzhou.aliyuncs.com",
+ @UriParam(description = "The endpoint of Simple Message Queue for the
Alibaba Cloud account, for example"
+ + " https://123456.mns.cn-hangzhou.aliyuncs.com.
The value must start with http:// or https://.",
displayName = "Account Endpoint")
@Metadata(required = true)
private String accountEndpoint;
- @UriParam(description = "Access key for the cloud user", displayName =
"Access Key", security = "secret",
+ @UriParam(description = "The AccessKey ID of the AccessKey pair for Simple
Message Queue. If not set, the accessKey of the"
+ + " serviceKeys option is used.",
+ displayName = "Access Key", security = "secret",
label = "security")
private String accessKey;
- @UriParam(description = "Secret key for the cloud user", displayName =
"Secret Key", security = "secret",
+ @UriParam(description = "The AccessKey secret of the AccessKey pair for
Simple Message Queue. If not set, the secretKey of"
+ + " the serviceKeys option is used.",
+ displayName = "Secret Key", security = "secret",
label = "security")
private String secretKey;
- @UriParam(description = "Configuration object for cloud service
authentication", displayName = "Service Keys",
+ @UriParam(description = "The AccessKey pair as an
org.apache.camel.component.alibaba.common.models.ServiceKeys. Each of"
Review Comment:
Fixed in 901fdf6890: the text now reads "Its accessKey and secretKey are
used when the options of the same name are not set."
_Claude Code on behalf of davsclaus_
##########
components/camel-alibaba/camel-alibaba-mns/src/main/java/org/apache/camel/component/alibaba/mns/MNSEndpoint.java:
##########
@@ -34,7 +34,7 @@
import org.apache.camel.support.ScheduledPollEndpoint;
/**
- * Send and receive messages to/from Alibaba Cloud Message Service (MNS).
+ * Send and receive messages using Alibaba Cloud Simple Message Queue (SMQ,
formerly MNS).
*/
@UriEndpoint(firstVersion = "4.23.0", scheme = "alibaba-mns", title = "Alibaba
Message Service (MNS)",
Review Comment:
Not changed on purpose: `tasks/component-descriptions.md` (CAMEL-23832)
limits these PRs to description text and asks to report a title with a former
name in the PR description, which this PR does ("Found, not changed"). A rename
of the title is a separate change.
_Claude Code on behalf of davsclaus_
##########
components/camel-alibaba/camel-alibaba-mns/src/main/docs/alibaba-mns-component.adoc:
##########
@@ -2,7 +2,7 @@
:doctitle: Alibaba Message Service (MNS)
Review Comment:
Not changed on purpose: `tasks/component-descriptions.md` (CAMEL-23832)
limits these PRs to description text and asks to report a title with a former
name in the PR description, which this PR does ("Found, not changed"). A rename
of the title is a separate change.
_Claude Code on behalf of davsclaus_
##########
components/camel-alibaba/camel-alibaba-mns/src/main/java/org/apache/camel/component/alibaba/mns/MNSEndpoint.java:
##########
@@ -34,7 +34,7 @@
import org.apache.camel.support.ScheduledPollEndpoint;
/**
- * Send and receive messages to/from Alibaba Cloud Message Service (MNS).
+ * Send and receive messages using Alibaba Cloud Simple Message Queue (SMQ,
formerly MNS).
*/
@UriEndpoint(firstVersion = "4.23.0", scheme = "alibaba-mns", title = "Alibaba
Message Service (MNS)",
Review Comment:
Not changed on purpose: `tasks/component-descriptions.md` (CAMEL-23832)
limits these PRs to description text and asks to report a title with a former
name in the PR description, which this PR does ("Found, not changed"). A rename
of the title is a separate change.
_Claude Code on behalf of davsclaus_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]