Skip to content

SimpleMessageListenerContainer - Broker not available; cannot force queue declarations during start: java.io.IOException #1470

Discussion options

You must be logged in to vote
17:04:41.784 [main] INFO  o.s.a.r.c.CachingConnectionFactory - Attempting to connect to: localhost:15672

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AndrejsZavjalovs
Comment options

@AndrejsZavjalovs
Comment options

Answer selected by artembilan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1469 on July 15, 2022 16:10.