insight720 opened a new issue, #569:
URL: https://github.com/apache/rocketmq-spring/issues/569

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   Add `rocketmq-spring-boot-starter` dependency and provide the correct 
configuration information in `application.yaml`.
   
![1](https://github.com/apache/rocketmq-spring/assets/108797013/5e49bd89-7d8d-4f36-b28b-036fe73ef1cd)
   
![2](https://github.com/apache/rocketmq-spring/assets/108797013/4ea93247-c6fd-4f7d-b2c3-9e1bc0195c56)
   
   - What did you expect to see?
   `RocketMQTemplate` can be injected.
   
   - What did you see instead?
   `RocketMQTemplate` not injected.
   
![3](https://github.com/apache/rocketmq-spring/assets/108797013/e5f724e5-94c4-47f7-a00b-0048fd8d077a)
   
   2. Please tell us about your environment:
   -  JDK 17
   -  Spring Boot 3.1.0
   -  Spring Cloud 2022.0.3
   -  rocketmq-spring-boot-starter 2.2.3
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   I manually added `RocketMQAutoConfiguration` to the automatic configuration 
list `org.springframework.boot.autoconfigure.AutoConfiguration.imports` to 
successfully inject `RocketMQTemplate`. 
   
![4](https://github.com/apache/rocketmq-spring/assets/108797013/57eb3a52-99ef-4fd3-87e2-6e4a0cbcdf12)


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