title: spring boot cannot connect to rabbitmq
body: <p>I have a RabbitMQ server like this<br>
  <a href="https://i.stack.imgur.com/HgGW9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HgGW9.png" alt="enter image description here"></a></p>
  
  <p>When I try to connect to this server via Spring Boot amqp, I see <code>com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.</code></p>
  
  <p>My configs are this one</p>
  
  <pre><code># Message
  spring.activemq.broker-url=tcp://127.0.0.1:5672
  spring.activemq.user=test
  spring.activemq.password=test
  </code></pre>
  
  <p>Yes, the user test can access Virtual Hosts on / and yes, I can login with test/test on RabbitMQ GUI</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Looking at the rabbitmq logs, I saw this</p>
  
  <pre><code>{handshake_error,starting,0,
               {amqp_error,access_refused,
                           "PLAIN login refused: user 'guest' - invalid credentials",
                           'connection.start_ok'}}
  </code></pre>
  
  <p>seems like Spring is ignoring my configs and trying to connect with <code>guest</code></p>