Skip to content

Commit

Permalink
[type:fix] fix example TestApacheDubboXmlApplication start failed (ap…
Browse files Browse the repository at this point in the history
…ache#5754)

Co-authored-by: aias00 <[email protected]>
  • Loading branch information
eye-gu and Aias00 authored Nov 5, 2024
1 parent 376e76b commit 496f8d3
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -47,6 +47,15 @@
</property>
</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>

<!-- for other kind of register method, please use related ShenyuClientRegisterRepository -->
<bean id="clientRegisterRepository" class="org.apache.shenyu.register.client.http.HttpClientRegisterRepository">
<constructor-arg ref="shenyuRegisterCenterConfig"/>
Expand Down

0 comments on commit 496f8d3

Please sign in to comment.