You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/10/24 04:51:59 UTC

[dubbo] branch 3.2 updated: fix no such extension by name netty4 (#10797)

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

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 497402a5d1 fix no such extension by name netty4 (#10797)
497402a5d1 is described below

commit 497402a5d1858bf35fcfded6e1e64f4cd2399efc
Author: 一个不知名的Java靓仔 <cl...@gmail.com>
AuthorDate: Mon Oct 24 12:51:52 2022 +0800

    fix no such extension by name netty4 (#10797)
---
 .../org/apache/dubbo/remoting/api/pu/PortUnificationTransporter.java    | 2 +-
 .../remoting/transport/netty4/NettyPortUnificationTransporter.java      | 2 +-
 .../org.apache.dubbo.remoting.api.pu.PortUnificationTransporter         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/pu/PortUnificationTransporter.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/pu/PortUnificationTransporter.java
index 655e91f415..bff785987a 100644
--- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/pu/PortUnificationTransporter.java
+++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/pu/PortUnificationTransporter.java
@@ -25,7 +25,7 @@ import org.apache.dubbo.remoting.Client;
 import org.apache.dubbo.remoting.Constants;
 import org.apache.dubbo.remoting.RemotingException;
 
-@SPI(value = "netty", scope = ExtensionScope.FRAMEWORK)
+@SPI(value = "netty4", scope = ExtensionScope.FRAMEWORK)
 public interface PortUnificationTransporter {
 
     @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY})
diff --git a/dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationTransporter.java b/dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationTransporter.java
index b13dc0f316..b92cf5ab2a 100644
--- a/dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationTransporter.java
+++ b/dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationTransporter.java
@@ -25,7 +25,7 @@ import org.apache.dubbo.remoting.api.pu.PortUnificationTransporter;
 
 public class NettyPortUnificationTransporter implements PortUnificationTransporter {
 
-    public static final String NAME = "netty";
+    public static final String NAME = "netty4";
 
     @Override
     public AbstractPortUnificationServer bind(URL url, ChannelHandler handler) throws RemotingException {
diff --git a/dubbo-remoting/dubbo-remoting-netty4/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.remoting.api.pu.PortUnificationTransporter b/dubbo-remoting/dubbo-remoting-netty4/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.remoting.api.pu.PortUnificationTransporter
index 69a981496a..e872b2fe8e 100644
--- a/dubbo-remoting/dubbo-remoting-netty4/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.remoting.api.pu.PortUnificationTransporter
+++ b/dubbo-remoting/dubbo-remoting-netty4/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.remoting.api.pu.PortUnificationTransporter
@@ -1 +1 @@
-netty=org.apache.dubbo.remoting.transport.netty4.NettyPortUnificationTransporter
+netty4=org.apache.dubbo.remoting.transport.netty4.NettyPortUnificationTransporter