This commit is contained in:
Jane
2023-12-22 10:59:10 +08:00
parent 751c43e199
commit d1ede2d4aa
2774 changed files with 291509 additions and 0 deletions

View 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>

View File

@@ -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.";
}

View File

@@ -0,0 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=