apache / rocketmq-spring

Apache RocketMQ Spring Integration
https://rocketmq.apache.org/
Apache License 2.0
2.11k stars 898 forks source link

@ExtRocketMQTemplateConfiguration(value="xxxx") exception #251

Closed kider closed 4 years ago

kider commented 4 years ago

rocketmq-spring-boot-starter-version:2.1.0

use: @ExtRocketMQTemplateConfiguration(value='xxx')

@Resource(name = "xxx") private RocketMQTemplate extRocketMQTemplate;

it always throws 'Bean {} has been used in Spring Application Context, " + "please check the @ExtRocketMQTemplateConfiguration' exception, only if not set value

RongtongJin commented 4 years ago

@kider It seems that the bean with the name 'xxx' already exists, you can change the name.

kider commented 4 years ago

@kider It seems that the bean with the name 'xxx' already exists, you can change the name. it does't work to change the name . i found the same bean is himself when i debug

wz2cool commented 6 months ago

meet same issue