| File was renamed from zy-acs-hex/src/main/java/com/zy/acs/hex/config/RabbitMQConfig.java |
| | |
| | | package com.zy.acs.hex.config; |
| | | |
| | | |
| | | import org.springframework.amqp.core.*; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | package com.zy.acs.hex.constant; |
| | | |
| | | |
| | | /** |
| | |
| | | * |
| | | * @author ken |
| | | */ |
| | | @Configuration |
| | | public class RabbitMQConfig { |
| | | |
| | | public class RabbitConstant { |
| | | |
| | | public static final String DURABLE = "true"; |
| | | |
| | | public static final String TOPIC_EXCHANGE_TYPE = "topic"; |
| | | |
| | | // ========================== 主题模式 ========================== |
| | | /** |