You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chickenlj (via GitHub)" <gi...@apache.org> on 2023/06/13 08:38:05 UTC

[GitHub] [dubbo] chickenlj commented on issue #12518: 3.3 branch, got exception when run 'triple+rest' with port unification feature.

chickenlj commented on issue #12518:
URL: https://github.com/apache/dubbo/issues/12518#issuecomment-1588824126

   Here is the dubbo service implementation, a standard impl without any annotations.
   
   ```java
   public class GreeterServiceImpl implements GreeterService {
   
       @Override
       public HelloReply sayHello(HelloRequest request) {
           return HelloReply.newBuilder()
                   .setMessage("Hello " + request.getName())
                   .build();
       }
   
       @Override
       public CompletableFuture<String> sayHelloAsync(String name) {
           return CompletableFuture.supplyAsync(() -> name);
       }
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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