You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can open multi config support by add the following annotation @EnableDubbo(scanBasePackages = "org.apache.dubbo.samples.annotation.action", multipleConfig = true)
Now, the dubbo.registries. works fine, but here comes a new problem, dubbo.application. can not work with multiConfig=true. To make it work, we must change it to dubbo.applications.id1.name=demo-provider.
The text was updated successfully, but these errors were encountered:
chickenlj
changed the title
Should make annotation easier to use for multiple items circumstance.
Should make annotation easier to use in multiple items circumstance.
Dec 22, 2018
By default, annotation does not support reading of multi-items for one config type, for example:
We can open multi config support by add the following annotation
@EnableDubbo(scanBasePackages = "org.apache.dubbo.samples.annotation.action", multipleConfig = true)
Now, the
dubbo.registries.
works fine, but here comes a new problem,dubbo.application.
can not work withmultiConfig=true
. To make it work, we must change it todubbo.applications.id1.name=demo-provider
.The text was updated successfully, but these errors were encountered: