Skip to content
Permalink
Browse files
enable triple sample token
  • Loading branch information
AlbumenJ committed Sep 10, 2021
1 parent 672d571 commit 353bb793114e88a4c88a99fe5b6e20e098db5b5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -29,6 +29,7 @@ public static void main(String[] args) {
ServiceConfig<IGreeter> service = new ServiceConfig<>();
service.setInterface(IGreeter.class);
service.setRef(new IGreeter1Impl());
service.setToken(true);

DubboBootstrap bootstrap = DubboBootstrap.getInstance();
bootstrap.application(new ApplicationConfig("demo-provider"))
@@ -29,6 +29,7 @@ public static void main(String[] args) {
ServiceConfig<IGreeter2> service = new ServiceConfig<>();
service.setInterface(IGreeter2.class);
service.setRef(new IGreeter2Impl());
service.setToken(true);

DubboBootstrap bootstrap = DubboBootstrap.getInstance();
bootstrap.application(new ApplicationConfig("demo-provider"))

0 comments on commit 353bb79

Please sign in to comment.