zeng54088 commented on issue #98: how to configure multiple protocols
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/98#issuecomment-378807284
 
 
   @SpringBootApplication
   @EnableDubboConfig(multiple = true) 
   public class DubboProviderDemo {
       public static void main(String[] args) {
           SpringApplication.run(DubboProviderDemo.class,args);
       }
   }
   
   
   
   ## ProtocolConfig Bean
   dubbo.protocols.dubbo.name = dubbo
   dubbo.protocols.dubbo.port = 20880
   dubbo.protocols.dubbo.status = server
   
   dubbo.protocols.rmi.name = rmi
   dubbo.protocols.rmi.port = 1099
   dubbo.protocols.rmi.status = server
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to