You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "liuyi9608 (GitHub)" <gi...@apache.org> on 2018/12/07 03:43:44 UTC
[GitHub] [incubator-dubbo] liuyi9608 opened issue #2908: 2.6.5使用注解方式怎么配置dubbo:provider filter
2.6.5使用注解方式怎么配置dubbo:provider filter
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2908 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] mercyblitz commented on issue #2908: 2.6.5使用注解方式怎么配置dubbo:provider filter
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
You could
- add `@EnableDubboConfig` to enable Dubbo Config
- annotate `@PropertySource("classpath:/config.properties")` for properties :
```properties
dubbo.provider.id = provider1
dubbo.provider.filter = ${your.filter.name}
```
- annotate `@Service(provider="provider1")` on your service's implementation
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2908 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] mercyblitz closed issue #2908: 2.6.5使用注解方式怎么配置dubbo:provider filter
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
[ issue closed by mercyblitz ]
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2908 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org