File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
dubbo-provider/src/main/java/io/ymq/dubbo/provider/service Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Spring Boot 学习教程,示例代码
22
3+ ** spring-boot-mongodb**
4+ - [ Spring Boot 中使用 MongoDB 增删改查] ( http://www.ymq.io/2018/02/05/spring-boot-mongodb-example/ )
5+
36** spring-boot-rocketmq**
47- [ Spring Boot 中使用 RocketMQ] ( http://www.ymq.io/2018/02/02/spring-boot-rocketmq-example/ )
58
Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ public String sayHello(String name) {
2121 System .out .println ("[" + new SimpleDateFormat ("HH:mm:ss" ).format (new Date ()) + "] Hello " + name + ", request from consumer: " + RpcContext .getContext ().getRemoteAddress ());
2222 return "Hello " + name + ", response form provider: " + RpcContext .getContext ().getLocalAddress ();
2323 }
24+
2425}
Original file line number Diff line number Diff line change 33 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55 <modelVersion >4.0.0</modelVersion >
6-
6+
77 <groupId >io.ymq.example</groupId >
88 <artifactId >spring-boot-dubbo</artifactId >
99 <packaging >pom</packaging >
171171 </pluginManagement >
172172 </build >
173173
174- </project >
174+ </project >
You can’t perform that action at this time.
0 commit comments