apache / apache/dubbo-spring-boot-project

- environment: a programmatically registered singleton,是否支持在一个实例中,同一个接口服务有多个分组的consumer

Open
#773 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.4k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

@DubboReference(version = "1.0.0", check = false, group = "testA")
使用这个标签来注入了一个consumer实例,其他类中也有相同的consumer,但分组不同,启动会报错如下
- environment: a programmatically registered singleton

Action:
Consider marking one of the beans as @primary, updating the consumer to accept multiple beans, or using @qualifier to identify the bean that should be consumed

但是使用了@qualifier为实例设置名称,依然启动报错

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.