Skip to content

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

Closed

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

Activity

  1. added
    type/bug
    on May 8, 2018
  2. added this to the 2.6.3 milestone on May 8, 2018
  3. self-assigned this
    on May 8, 2018
  4. modified the milestones: 2.6.3, 2.6.4 on Jul 23, 2018
  5. diecui1202 commented on Sep 5, 2018

    @diecui1202

    @mercyblitz Any progress?

  6. modified the milestones: 2.6.4, 2.6.5 on Sep 14, 2018
  7. self-assigned this
    on Oct 9, 2018
  8. modified the milestones: 2.6.5, 2.6.6 on Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions