|
@@ -49,7 +49,7 @@ public class QueueConfiguration {
|
|
|
return BindingBuilder.bind(repeatTradeQueue()).to(defaultExchange()).with(MQConstant.DEFAULT_REPEAT_TRADE_QUEUE_NAME);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
@Bean
|
|
|
public Queue deadLetterQueue() {
|
|
|
Map<String, Object> arguments = new HashMap<>();
|
|
@@ -58,7 +58,7 @@ public class QueueConfiguration {
|
|
|
Queue queue = new Queue(MQConstant.DEFAULT_DEAD_LETTER_QUEUE_NAME,true,false,false,arguments);
|
|
|
return queue;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Bean
|
|
|
public Binding deadLetterBinding() {
|
|
|
return BindingBuilder.bind(deadLetterQueue()).to(defaultExchange()).with(MQConstant.DEFAULT_DEAD_LETTER_QUEUE_NAME);
|