Class RMQConnectionConfig

    • Method Detail

      • getHost

        public String getHost()
        Returns:
        the host to use for connections
      • getPort

        public int getPort()
        Returns:
        the port to use for connections
      • getVirtualHost

        public String getVirtualHost()
        Retrieve the virtual host.
        Returns:
        the virtual host to use when connecting to the broker
      • getUsername

        public String getUsername()
        Retrieve the user name.
        Returns:
        the AMQP user name to use when connecting to the broker
      • getPassword

        public String getPassword()
        Retrieve the password.
        Returns:
        the password to use when connecting to the broker
      • getUri

        public String getUri()
        Retrieve the URI.
        Returns:
        the connection URI when connecting to the broker
      • getNetworkRecoveryInterval

        public Integer getNetworkRecoveryInterval()
        Returns automatic connection recovery interval in milliseconds.
        Returns:
        how long will automatic recovery wait before attempting to reconnect, in ms; default is 5000
      • isAutomaticRecovery

        public Boolean isAutomaticRecovery()
        Returns true if automatic connection recovery is enabled, false otherwise.
        Returns:
        true if automatic connection recovery is enabled, false otherwise
      • isTopologyRecovery

        public Boolean isTopologyRecovery()
        Returns true if topology recovery is enabled, false otherwise.
        Returns:
        true if topology recovery is enabled, false otherwise
      • getConnectionTimeout

        public Integer getConnectionTimeout()
        Retrieve the connection timeout.
        Returns:
        the connection timeout, in milliseconds; zero for infinite
      • getRequestedChannelMax

        public Integer getRequestedChannelMax()
        Retrieve the requested maximum channel number.
        Returns:
        the initially requested maximum channel number; zero for unlimited
      • getRequestedFrameMax

        public Integer getRequestedFrameMax()
        Retrieve the requested maximum frame size.
        Returns:
        the initially requested maximum frame size, in octets; zero for unlimited
      • getRequestedHeartbeat

        public Integer getRequestedHeartbeat()
        Retrieve the requested heartbeat interval.
        Returns:
        the initially requested heartbeat interval, in seconds; zero for none
      • getPrefetchCount

        public Optional<Integer> getPrefetchCount()
        Retrieve the channel prefetch count.
        Returns:
        an Optional of the prefetch count, if set, for the consumer channel
      • getDeliveryTimeout

        public long getDeliveryTimeout()
        Retrieve the message delivery timeout used in the queueing consumer. If not specified explicitly, the default value of 30000 milliseconds will be returned.
        Returns:
        the message delivery timeout, in milliseconds