Skip to content

[Bug] Bean name of @Service annotated class does not resolve placeholder #1755

@mercyblitz

Description

@mercyblitz

Code as following:

@Service(
        version = "${dubbo.service.version}",
        application = "${dubbo.application.id}",
        protocol = "${dubbo.protocol.id}",
        registry = "${dubbo.registry.id}"
)
public class DefaultDemoService implements DemoService {

    public String sayHello(String name) {
        return "Hello, " + name + " (from Spring Boot)";
    }

}

The placeholder was not resolved from the bean name of DefaultDemoService , thus it's name will contain "${dubbo.service.version}"

Metadata

Metadata

Labels

type/bugBugs to being fixed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions