You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by li...@apache.org on 2023/07/19 11:09:22 UTC

[dubbo-samples] branch triple-protocol-sample-0719 updated: update triple protocol name

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch triple-protocol-sample-0719
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/triple-protocol-sample-0719 by this push:
     new b2f5cc2f update triple protocol name
b2f5cc2f is described below

commit b2f5cc2ffa5ef946682f890aa2b10e2333b28015
Author: chickenlj <ke...@gmail.com>
AuthorDate: Wed Jul 19 18:59:36 2023 +0800

    update triple protocol name
---
 .../main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/1-basic/dubbo-samples-triple-unary/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java b/1-basic/dubbo-samples-triple-unary/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java
index ab6ac3e5..84437189 100644
--- a/1-basic/dubbo-samples-triple-unary/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java
+++ b/1-basic/dubbo-samples-triple-unary/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java
@@ -40,7 +40,7 @@ public class TriUnaryServer {
         DubboBootstrap bootstrap = DubboBootstrap.getInstance();
         bootstrap.application(applicationConfig)
                 .registry(new RegistryConfig(TriSampleConstants.ZK_ADDRESS))
-                .protocol(new ProtocolConfig(CommonConstants.TRIPLE, TriSampleConstants.SERVER_PORT))
+                .protocol(new ProtocolConfig("triple", TriSampleConstants.SERVER_PORT))
                 .service(service)
                 .start();
         System.out.println("Dubbo triple unary server started, port=" + TriSampleConstants.SERVER_PORT);


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org