This is an automated email from the ASF dual-hosted git repository. liuhongyu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push: new 60fb483d93 [type:fix] fix ShenyuApacheDubboXmlProviderApplication config (#5811) 60fb483d93 is described below commit 60fb483d9350cdeaea94fcd8d80729819227077b Author: eye-gu <734164...@qq.com> AuthorDate: Tue Nov 26 20:09:52 2024 +0800 [type:fix] fix ShenyuApacheDubboXmlProviderApplication config (#5811) Co-authored-by: xiaoyu <xia...@apache.org> --- .../src/main/resources/shenyu.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-dubbo/shenyu-examples-sdk-apache-dubbo-provider/src/main/resources/shenyu.xml b/shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-dubbo/shenyu-examples-sdk-apache-dubbo-provider/src/main/resources/shenyu.xml index 8cf4b329c5..0af16c440e 100644 --- a/shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-dubbo/shenyu-examples-sdk-apache-dubbo-provider/src/main/resources/shenyu.xml +++ b/shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-dubbo/shenyu-examples-sdk-apache-dubbo-provider/src/main/resources/shenyu.xml @@ -20,7 +20,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id = "apacheDubboServiceBeanListener" class="org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener"> - <constructor-arg ref="clientPropertiesConfig"/> + <constructor-arg ref="shenyuClientConfig"/> <constructor-arg ref="clientRegisterRepository"/> </bean> @@ -56,4 +56,13 @@ <constructor-arg ref="shenyuRegisterCenterConfig"/> <constructor-arg ref="clientRegisterRepository"/> </bean> + + <bean id="shenyuClientConfig" + class="org.apache.shenyu.register.common.config.ShenyuClientConfig"> + <property name="client"> + <map> + <entry key="dubbo" value-ref="clientPropertiesConfig"/> + </map> + </property> + </bean> </beans> \ No newline at end of file