From ff53cf7aac67081a34c3624cff5b4afebef2e1ba Mon Sep 17 00:00:00 2001 From: larry <945645265@qq.com> Date: Tue, 10 Dec 2024 00:27:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=BC=80=E5=90=AFretry=EF=BC=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E6=9C=AA=E5=A4=84=E7=90=86=E7=9A=84=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E8=AE=A9=E6=B6=88=E8=B4=B9=E8=80=85=E4=B8=80=E7=9B=B4=E9=87=8D?= =?UTF-8?q?=E8=AF=95=E4=BB=8E=E8=80=8C=E9=98=BB=E5=A1=9E=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E6=B6=88=E8=B4=B9=E8=80=85=E7=9A=84=E5=8F=AF=E9=9D=A0?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- austin-web/src/main/resources/application.properties | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index e15e890..916782f 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -65,6 +65,11 @@ spring.rabbitmq.password=123456 spring.rabbitmq.publisher-confirm-type=correlated spring.rabbitmq.publisher-returns=true spring.rabbitmq.virtual-host=/ +#enable retry +spring.rabbitmq.listener.simple.retry.enabled=true +spring.rabbitmq.listener.simple.retry.initial-interval=1000 +spring.rabbitmq.listener.simple.retry.multiplier=2 +spring.rabbitmq.listener.simple.retry.max-attempts=3 austin.rabbitmq.exchange.name=austin.point spring.rabbitmq.queues.send=austin.queues.send spring.rabbitmq.queues.recall=austin.queues.recall