Li-Nuo opened a new issue, #10984:
URL: https://github.com/apache/rocketmq/issues/10984

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [x] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [x] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   操作系统(Windows)
   编程语言及版本(Java 8 spring boot 2.7.18)
   RockerMQ(Windows 5.3.2)
   rocketmq-v5-client-spring-boot-starter(2.3.5)
   
   ### RocketMQ version
   
   Windows版5.3.2
   
   ### JDK Version
   
   jdk8
   
   ### Describe the Bug
   
   rocketmq已经接收到该消息 又重新调用了发送消息方法 并没有触发消息发送超时重新发送 发送消息方法执行完毕后该方法返回值传入又重新调用 
使用api调用工具没有收到返回值请求并未结束  代码以及rocketmq相关配置信息
   <img width="1843" height="399" alt="Image" 
src="https://github.com/user-attachments/assets/8516183f-ead0-4168-979c-cdd048b027de";
 />
   
   <img width="1416" height="832" alt="Image" 
src="https://github.com/user-attachments/assets/6707aa18-debd-4f49-9d97-078b6e8ce5ec";
 />
   
   <img width="2208" height="1897" alt="Image" 
src="https://github.com/user-attachments/assets/c6518917-5707-4fd3-812a-5e9ae1eb8d31";
 />
   
   <img width="774" height="377" alt="Image" 
src="https://github.com/user-attachments/assets/6ae47fed-2161-4801-831e-0c9875f0a6c3";
 />
   
   ### Steps to Reproduce
   
   生产者类 在类上使用@Slf4j,@Controller,@RequiredArgsConstructor注解
   发送消息方法返回值和接收方法参数类型一致使用String
   RocketMQClientTemplate为默认自动注入
   使用的是MessageBuilder.withPayload("普通消息").copyHeaders(headers).build()来创建消息
   消息属性设置KEYS,TAGS,MESSAGE_ID
   使用RocketMQClientTemplate调用syncSendNormalMessage(String destination, 
Message<?> message)方法
   调用该发送消息方法一次并成功返回RocketMQ发送消息结果 方法处理完 
rocketmq-v5-client-spring-boot-starter又重新调用了该方法
   
   <img width="1846" height="898" alt="Image" 
src="https://github.com/user-attachments/assets/b85e7286-f42c-476e-93e2-9d6ebbd9dd05";
 />
   
   ### What Did You Expect to See?
   
   使用RocketMQClientTemplate发送消息成功后并且没有超过request-timeout不应该重新调用该发送消息方法
   
   ### What Did You See Instead?
   
   重新调用发送方方法并且返回值没有返还
   
   ### Additional Context
   
   目前只使用了syncSendNormalMessage(String destination, Message<?> 
message)和asyncSendNormalMessage(String destination, Message<?> payload, 
CompletableFuture<SendReceipt> future)方法不知其他发送方法是否有相同效果


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to