mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 02:09:06 +00:00
When a rabbitmq Docker Compose service has SSL bundle labels, RabbitDockerComposeConnectionDetailsFactory created an SslBundle but still resolved the address from container port 5672, the plain AMQP listener. As the connection factory enables SSL when an SslBundle is present, the TLS handshake was attempted against the non-TLS listener and the connection failed. The address is now resolved from container port 5671 when an SslBundle is present, matching RabbitStreamDockerComposeConnectionDetailsFactory and the Testcontainers-based RabbitContainerConnectionDetailsFactory. The SSL integration test now opens a connection using the resolved address and SslBundle so that it fails without this fix. Signed-off-by: ohchanKyu <okc0202@naver.com> See gh-51666