[
https://issues.apache.org/jira/browse/CAMEL-27046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-27046 started by Saravanakumar Selvaraj.
------------------------------------------------------
> camel-alibaba-eventbridge: region is marked as required instead of endpoint,
> and AlibabaEventBridgeHeaders has no operation header
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27046
> URL: https://issues.apache.org/jira/browse/CAMEL-27046
> Project: Camel
> Issue Type: Bug
> Affects Versions: 4.23.0
> Reporter: Saravanakumar Selvaraj
> Assignee: Saravanakumar Selvaraj
> Priority: Minor
>
> Follow-up to the review of https://github.com/apache/camel/pull/30193.
> 1. region has @Metadata(required = true) and endpoint has none, but the SDK
> needs the endpoint and not the region. A URI with only a region passes the
> check of Camel, "Region or endpoint is required", and then fails at the first
> message with "'endpoint' can not be unset". The first example of the doc page
> sets a region and no endpoint.
> 2. AlibabaEventBridgeHeaders has no constant for
> CamelAlibabaEventBridgeOperation, which the producer reads like the other
> input headers. Only its subclass AlibabaEventBridgeProperties declares it, so
> the header is missing from the header list of the component JSON, the
> endpoint DSL and the doc page. https://github.com/apache/camel/pull/30048
> closed the same gap for camel-alibaba-mns.
> 3. AlibabaEventBridgeProperties has @Metadata with a text of its own on
> OPERATION, but the build reads only the headers class and its supertypes. So
> this text is not used.
> _Claude Code on behalf of saravanakumar1987_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)