aoshiguchen commented on PR #619: URL: https://github.com/apache/rocketmq-spring/pull/619#issuecomment-1929034685
> Do you have detailed error information? The judgment of namespance is done in rocketmq-client > > org.apache.rocketmq.common.protocol.NamespaceUtil#wrapNamespace In the Default MQProducer, this line of code will be executed before sending a message: "msg. setTopic (this. with Namespace (msg. getTopic()); ". If "org. apache. locketmq. client. ClientConfig# namespaceInitialized" is false, it means that the namespace has not been initialized and the program will automatically initialize. But because in "org. apache. locketmq. spring. autoconfiguration. RocketMQAutoConfiguration # defaultMQProducer", even if a namespace is not configured, the value will still be affected by executing the code: "producer. setNamespace (productConfiguration. getNamespace())" And set to true. As a result, when sending messages, the defaultMQProducer mistakenly thought of the namespace. -- 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-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org