Start building against Spring AMQP 4.2.0-M2 snapshots

See gh-51711
This commit is contained in:
Stéphane Nicoll
2026-09-12 18:19:41 +02:00
parent 259b19883c
commit f7beb3ad3e
2 changed files with 3 additions and 3 deletions
@@ -706,7 +706,7 @@ class RabbitAutoConfigurationTests {
assertThat(adviceChain).isNotNull();
assertThat(adviceChain).hasSize(1);
Advice advice = adviceChain[0];
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryOperations");
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryTemplate");
assertThat(retryTemplate).hasFieldOrPropertyWithValue("retryPolicy", retryPolicy);
}
@@ -788,7 +788,7 @@ class RabbitAutoConfigurationTests {
Exception cause = new Exception("test");
invokeRecoverer(advice, new Object[] { "foo", message }, cause);
then(messageRecoverer).should().recover(message, cause);
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryOperations");
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryTemplate");
assertThat(retryTemplate).isNotNull();
RetryPolicy retryPolicy = (RetryPolicy) ReflectionTestUtils.getField(retryTemplate, "retryPolicy");
assertThat(retryPolicy).isNotNull();
@@ -2599,7 +2599,7 @@ bom {
]
}
}
library("Spring AMQP", "4.2.0-M1") {
library("Spring AMQP", "4.2.0-SNAPSHOT") {
firstParty()
group("org.springframework.amqp") {
bom("spring-amqp-bom")