Andrea Cosentino created CAMEL-26520:
----------------------------------------

             Summary: 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


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