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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]