Class AMQPService


  • public class AMQPService
    extends Object
    AMQP service used to open the server socket and start the connection listeners.
    • Field Detail

      • logger

        private static final Logger logger
      • naming

        public static Naming naming
      • DEFAULT_HEARTBEAT

        public static final int DEFAULT_HEARTBEAT
        Default value in seconds for the server heartbeat property.
        See Also:
        Constant Field Values
      • HEARTBEAT_PROP

        public static final String HEARTBEAT_PROP
        Name of the property that allows to set the server requested heartbeat. Socket timeout (SO_TIMEOUT) property will be 2 times the desired heartbeat.
        See Also:
        Constant Field Values
      • DEFAULT_PORT

        public static final int DEFAULT_PORT
        Default value for the TCP port of the listen socket.
        See Also:
        Constant Field Values
      • DEFAULT_BACKLOG

        public static final int DEFAULT_BACKLOG
        Default value for the TCP BACKLOG property.
        See Also:
        Constant Field Values
      • BACKLOG_PROP

        public static final String BACKLOG_PROP
        Name of the property that allow to fix the TCP BACKLOG property for the client's connections.
        See Also:
        Constant Field Values
      • heartbeat

        public static int heartbeat
      • amqpService

        protected static AMQPService amqpService
        The proxy reference (used to stop it).
      • port

        private static int port
      • address

        private static String address
      • serverSocket

        private static ServerSocket serverSocket
        The listening server socket