mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 注册消息队列
This commit is contained in:
@@ -35,10 +35,10 @@ public class DirectRabbitConfig {
|
||||
// return new Queue(RabbitConstants.QUEUE_HEART_BEAT);
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// public Queue realtimeDataQueue() {
|
||||
// return new Queue(RabbitConstants.QUEUE_REALTIME_DATA);
|
||||
// }
|
||||
@Bean
|
||||
public Queue realtimeDataQueue() {
|
||||
return new Queue(RabbitConstants.QUEUE_REALTIME_DATA);
|
||||
}
|
||||
//
|
||||
// @Bean
|
||||
// public Queue priceSenderQueue() {
|
||||
@@ -88,10 +88,10 @@ public class DirectRabbitConfig {
|
||||
// return BindingBuilder.bind(heartBeatQueue()).to(exchange()).with(RabbitConstants.QUEUE_HEART_BEAT);
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// public Binding bindRealtimeData() {
|
||||
// return BindingBuilder.bind(realtimeDataQueue()).to(exchange()).with(RabbitConstants.QUEUE_REALTIME_DATA);
|
||||
// }
|
||||
@Bean
|
||||
public Binding bindRealtimeData() {
|
||||
return BindingBuilder.bind(realtimeDataQueue()).to(exchange()).with(RabbitConstants.QUEUE_REALTIME_DATA);
|
||||
}
|
||||
//
|
||||
// @Bean
|
||||
// public Binding bindPriceSender() {
|
||||
|
||||
Reference in New Issue
Block a user