From c1566ffb6cbb428f17d5f7f7b2c7e3449c087630 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 23 Aug 2019 16:10:42 -0400 Subject: [PATCH] Make sendTo.replies test queue args consistent - changed to non-autoDelete in 2.1.x --- .../amqp/rabbit/annotation/EnableRabbitIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/EnableRabbitIntegrationTests.java b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/EnableRabbitIntegrationTests.java index 362d3c9f..e9524451 100644 --- a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/EnableRabbitIntegrationTests.java +++ b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/EnableRabbitIntegrationTests.java @@ -1176,7 +1176,7 @@ public class EnableRabbitIntegrationTests { @Bean public org.springframework.amqp.core.Queue sendToReplies() { - return new org.springframework.amqp.core.Queue(sendToRepliesBean(), false, false, true); + return new org.springframework.amqp.core.Queue(sendToRepliesBean(), false, false, false); } @Bean @@ -1497,7 +1497,7 @@ public class EnableRabbitIntegrationTests { public static class DeleteQueuesExecutionListener extends AbstractTestExecutionListener { @Override - public void afterTestClass(TestContext testContext) throws Exception { + public void afterTestClass(TestContext testContext) { brokerRunning.removeTestQueues("sendTo.replies", "sendTo.replies.spel"); }