[ 
https://issues.apache.org/jira/browse/CAMEL-27036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27036.
---------------------------------
    Resolution: Fixed

> camel-alibaba-sms: region is marked as required, SMSHeaders has no operation 
> header, and SMSProperties has unused texts
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27036
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27036
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 4.23.0
>            Reporter: Saravanakumar Selvaraj
>            Assignee: Saravanakumar Selvaraj
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up to the review of https://github.com/apache/camel/pull/30144.
> 1. region has @Metadata(required = true), but the code needs region or 
> endpoint, and neither when smsClient is set or autowired. The catalog 
> validation reports region as a missing required option for a URI with only 
> endpoint, and for a URI with only smsClient.
> 2. SMSHeaders has no constant for CamelAlibabaSmsOperation, which the 
> producer reads like the other input headers. Only SMSProperties 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. SMSProperties has @Metadata with texts of its own on its seven header 
> names, but the build reads only the headers class SMSHeaders. So these texts 
> are not used, and they differ from the texts in SMSHeaders.
> _Claude Code on behalf of saravanakumar1987_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to