Commit 350a04f1 authored by 赵啸非's avatar 赵啸非

添加消息发送

parent 436ace84
...@@ -32,7 +32,7 @@ public class RabbitConfig { ...@@ -32,7 +32,7 @@ public class RabbitConfig {
// 创建 Direct Exchange // 创建 Direct Exchange
@Bean @Bean
public DirectExchange exchange() { public DirectExchange exchange() {
return new DirectExchange(QueueKey.EXCHANGE, return new DirectExchange(QueueKey.DEFAULT_EXCHANGE,
true, // durable: 是否持久化 true, // durable: 是否持久化
false); // exclusive: 是否排它 false); // exclusive: 是否排它
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment