You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "francisoliverlee (via GitHub)" <gi...@apache.org> on 2023/07/27 02:51:31 UTC
[GitHub] [rocketmq-spring] francisoliverlee commented on issue #571: 为什么不把tags作为send方法的独立的入参,而要把topic和tags融合成一个String类型的destination字段
francisoliverlee commented on issue #571:
URL: https://github.com/apache/rocketmq-spring/issues/571#issuecomment-1652834580
it comes from spring messaging def i think.
1. Abstract MessageSendingTemplate def in https://github.com/spring-projects/spring-framework/blob/main/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
2. Message interface def in https://github.com/spring-projects/spring-framework/blob/main/spring-messaging/src/main/java/org/springframework/messaging/Message.java
Message defines a message for all message queue system's message actions. not every mq has a tag.
AbstractMessageSendingTemplate defines common sendXXX method, not every mq has a tag. so common methodXXX don't define like send(topic, tag, message)
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org