dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Dubbo 注解支持数字类型的占位符么?

Open stoneapple opened this issue 6 years ago • 2 comments

我用2.6.7,使用springboot 注解配置模式开发,部分参数希望抽取到application.properties中配置, 通过 @Service(timeout="${svc.timeout}")来实现占位符。 编译报错了,这种有办法解决么

stoneapple avatar Mar 25 '20 11:03 stoneapple

timeout是int类型,想要实现占位符赋值的话需要修改类型,感觉不是很有必要。

rj-chensiqu avatar Mar 26 '20 01:03 rj-chensiqu

No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.

CrazyHZM avatar Oct 22 '21 05:10 CrazyHZM