Class AMQPFederationConfiguration


  • public final class AMQPFederationConfiguration
    extends Object
    A configuration class that contains API for getting federation specific configuration either from a Map of configuration elements or from the connection associated with the federation instance, or possibly from a set default value.
    • Field Detail

      • DEFAULT_LINK_ATTACH_TIMEOUT

        public static final int DEFAULT_LINK_ATTACH_TIMEOUT
        Default timeout value (in seconds) used to control when a link attach is considered to have failed due to not responding to an attach request.
        See Also:
        Constant Field Values
    • Method Detail

      • getReceiverCredits

        public int getReceiverCredits()
        Returns:
        the credit batch size offered to a Receiver link.
      • getReceiverCreditsLow

        public int getReceiverCreditsLow()
        Returns:
        the number of remaining credits on a Receiver before the batch is replenished.
      • getLargeMessageThreshold

        public int getLargeMessageThreshold()
        Returns:
        the size in bytes of an incoming message after which the Receiver treats it as large.
      • getLinkAttachTimeout

        public int getLinkAttachTimeout()
        Returns:
        the size in bytes of an incoming message after which the Receiver treats it as large.
      • toConfigurationMap

        public Map<String,​Object> toConfigurationMap()
        Enumerate the configuration options in this configuration object and return a Map that contains the values which can be sent to a remote peer
        Returns:
        a Map that contains the values of each configuration option.