org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused

Stack Overflow | domi | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    how to mock spring amqp/rabbit in spring boot test

    Stack Overflow | 8 months ago | domi
    org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused

    Root Cause Analysis

    1. org.springframework.amqp.AmqpConnectException

      java.net.ConnectException: Connection refused

      at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException()
    2. Spring RabbitMQ Support
      AbstractConnectionFactory.createBareConnection
      1. org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:62)
      2. org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:309)
      2 frames