init
This commit is contained in:
20
studio/common/common-rabbitmq/pom.xml
Normal file
20
studio/common/common-rabbitmq/pom.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>common</artifactId>
|
||||
<groupId>com.platform</groupId>
|
||||
<version>0.4.x</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>0.4.x</version>
|
||||
<artifactId>common-rabbitmq</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-amqp</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,29 @@
|
||||
package cn.datax.common.rabbitmq.config;
|
||||
|
||||
public class RabbitMqConstant {
|
||||
|
||||
/**
|
||||
* FANOUT类型的交换机:api发布与撤销
|
||||
*/
|
||||
public static final String FANOUT_EXCHANGE_API = "fanout.exchange.api";
|
||||
|
||||
/**
|
||||
* FANOUT类型的队列:api发布与撤销
|
||||
*/
|
||||
public static final String FANOUT_API_QUEUE = "fanout.api.queue";
|
||||
|
||||
/**
|
||||
* TOPIC类型的交换机:工作流
|
||||
*/
|
||||
public static final String TOPIC_EXCHANGE_WORKFLOW = "topic.exchange.workflow";
|
||||
|
||||
/**
|
||||
* TOPIC类型的队列:工作流
|
||||
*/
|
||||
public static final String TOPIC_WORKFLOW_QUEUE = "topic.workflow.queue";
|
||||
|
||||
/**
|
||||
* TOPIC类型的路由键:工作流 {}占位符替换
|
||||
*/
|
||||
public static final String TOPIC_WORKFLOW_KEY = "topic.workflow.key.";
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=
|
||||
Reference in New Issue
Block a user