SimpleMessageListenerContainer - Broker not available; cannot force queue declarations during start: java.io.IOException #1470
Answered
by
artembilan
AndrejsZavjalovs
asked this question in
Q&A
-
Hello, after star local app, testcontainer up rabbitmq, but can't connect from spring boot app. spring-boot-starter-amqp: 2.7.1 Log:
|
Beta Was this translation helpful? Give feedback.
Answered by
artembilan
Jul 15, 2022
Replies: 1 comment 2 replies
-
The port is not correct. Must be |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
artembilan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The port is not correct. Must be
5672
. The one you use is for management plugin over HTTP.The
CachingConnectionFactory
have to connect to the AMQP port: https://www.rabbitmq.com/networking.html