From 1946ac637f4e19ab5c4714d49093b4725347ff0d Mon Sep 17 00:00:00 2001 From: hoa0217 Date: Fri, 5 Apr 2024 22:14:08 +0900 Subject: [PATCH] chore: exchange, queue name change Related: #70 --- .../java/com/modoospace/alarm/consumer/AlarmDLQConsumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/modoospace/alarm/consumer/AlarmDLQConsumer.java b/src/main/java/com/modoospace/alarm/consumer/AlarmDLQConsumer.java index ce2a2a3..dc12d63 100644 --- a/src/main/java/com/modoospace/alarm/consumer/AlarmDLQConsumer.java +++ b/src/main/java/com/modoospace/alarm/consumer/AlarmDLQConsumer.java @@ -33,7 +33,7 @@ public void processFailedMessagesRequeue(Message failedMessage) { } log.info("Retrying message for the {} time", retriesCnt); failedMessage.getMessageProperties().getHeaders().put(RETRY_COUNT_HEADER, ++retriesCnt); - rabbitTemplate.send("x.reservation", + rabbitTemplate.send("x.alarm.work", failedMessage.getMessageProperties().getReceivedRoutingKey(), failedMessage); } }