[ 
https://issues.apache.org/jira/browse/CAMEL-26520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150964#comment-18150964
 ] 

Urmila Unni commented on CAMEL-26520:
-------------------------------------

Hi, I'd like to work on this one if that's OK.

My plan: mark MNSOperations.RECEIVE_MESSAGE and 
MNSEndpoint.resolveConsumerOperation() as @Deprecated (for removal), with a 
javadoc saying why, and keep the producer's error message for 
operation=receiveMessage until the constant is removed. I'd add a note to the 
upgrade guide.

> camel-alibaba-mns - deprecate MNSOperations.RECEIVE_MESSAGE and 
> MNSEndpoint.resolveConsumerOperation()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26520
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26520
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Andrea Cosentino
>            Priority: Minor
>
> Follow-up of CAMEL-26259 ([PR 
> #28950|https://github.com/apache/camel/pull/28950]), which removed 
> {{receiveMessage}} from the values of the {{operation}} option of 
> alibaba-mns: the producer never supported it, and the consumer receives the 
> messages of the queue without reading the option.
> Two public members still refer to it:
> * {{MNSOperations.RECEIVE_MESSAGE}}, now used only for the producer's error 
> message for {{operation=receiveMessage}}
> * {{MNSEndpoint.resolveConsumerOperation()}}, which nothing calls and which 
> returns {{receiveMessage}} when no operation is set
> Deprecate both for removal in a later release, and drop the producer's 
> dedicated error message when the constant is removed.
> _Claude Code on behalf of Andrea Cosentino (oscerd)_



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

Reply via email to