Class BrokerTestUtils

java.lang.Object
org.springframework.amqp.rabbit.junit.BrokerTestUtils

public final class BrokerTestUtils extends Object
Global convenience class for all integration tests, carrying constants and other utilities for broker set up.
Author:
Dave Syer, Gary Russell
  • Field Details

  • Method Details

    • getPort

      public static int getPort()
      The port that the broker is listening on (e.g. as input for a ConnectionFactory).
      Returns:
      a port number