zuukeeper下service調用其他serivice


    <dubbo:registry address="zookeeper://localhost:2181"/>

    <dubbo:protocol name="dubbo" port="20882"/>

    <dubbo:reference interface="com.service.xxx" id="xxx" check="false" timeout="1200000"/>
   // 注意調用其他的service層一定要寫在自己項目的service層前
    
    <dubbo:service interface="com.service.xxx" ref="xxx" protocol="dubbo" timeout="1200000"/>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章