Class BrokerTestUtils


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

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_PORT  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getPort()
      The port that the broker is listening on (e.g.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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