From c4b1fb1a9b79c79fc1db78b273ff237684dfa7ca Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 26 Dec 2018 15:41:10 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-mq-rocketmq=20?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + spring-boot-demo-mq-rocketmq/.gitignore | 25 ++++++++++ spring-boot-demo-mq-rocketmq/pom.xml | 48 +++++++++++++++++++ .../SpringBootDemoMqRocketmqApplication.java | 14 ++++++ .../src/main/resources/application.properties | 0 ...ingBootDemoMqRocketmqApplicationTests.java | 17 +++++++ 6 files changed, 105 insertions(+) create mode 100644 spring-boot-demo-mq-rocketmq/.gitignore create mode 100644 spring-boot-demo-mq-rocketmq/pom.xml create mode 100644 spring-boot-demo-mq-rocketmq/src/main/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplication.java create mode 100644 spring-boot-demo-mq-rocketmq/src/main/resources/application.properties create mode 100644 spring-boot-demo-mq-rocketmq/src/test/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplicationTests.java diff --git a/pom.xml b/pom.xml index 512b018..b775434 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,7 @@ spring-boot-demo-social spring-boot-demo-zookeeper spring-boot-demo-mq-rabbitmq + spring-boot-demo-mq-rocketmq spring-boot-demo-websocket spring-boot-demo-websocket-socketio spring-boot-demo-activiti diff --git a/spring-boot-demo-mq-rocketmq/.gitignore b/spring-boot-demo-mq-rocketmq/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-mq-rocketmq/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-mq-rocketmq/pom.xml b/spring-boot-demo-mq-rocketmq/pom.xml new file mode 100644 index 0000000..8f18be4 --- /dev/null +++ b/spring-boot-demo-mq-rocketmq/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + + spring-boot-demo-mq-rocketmq + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-mq-rocketmq + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 1.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-mq-rocketmq + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-mq-rocketmq/src/main/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplication.java b/spring-boot-demo-mq-rocketmq/src/main/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplication.java new file mode 100644 index 0000000..8666615 --- /dev/null +++ b/spring-boot-demo-mq-rocketmq/src/main/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplication.java @@ -0,0 +1,14 @@ +package com.xkcoding.mq.rocketmq; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoMqRocketmqApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoMqRocketmqApplication.class, args); + } + +} + diff --git a/spring-boot-demo-mq-rocketmq/src/main/resources/application.properties b/spring-boot-demo-mq-rocketmq/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-mq-rocketmq/src/test/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplicationTests.java b/spring-boot-demo-mq-rocketmq/src/test/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplicationTests.java new file mode 100644 index 0000000..54a87f3 --- /dev/null +++ b/spring-boot-demo-mq-rocketmq/src/test/java/com/xkcoding/mq/rocketmq/SpringBootDemoMqRocketmqApplicationTests.java @@ -0,0 +1,17 @@ +package com.xkcoding.mq.rocketmq; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoMqRocketmqApplicationTests { + + @Test + public void contextLoads() { + } + +} +