Class 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
    • Method Detail

      • getPort

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