Closed
Description
In what version(s) of Spring AMQP are you seeing this issue?
3.2.0
Describe the bug
In Spring Boot 3.4.0 org.springframework.boot.autoconfigure.amqp.RabbitProperties#getAddresses() returns a List<String>
while it previously returned a String
.
This makes it incompatible with AbstractConnectionFactory.setAddresses which accepts a String.
With Spring Boot 3.3x and AMQP 3.2.0 one can write cachingConnectionFactory.setAddresses(rabbitProperties.getAddresses());
which is impossible with 3.4.0
Expected behavior
Either make setAddresses
compatible with the new RabbitProperties or add a new method that is.