Class AMQPFederationTarget

  • All Implemented Interfaces:
    Federation, FederationInternal

    public class AMQPFederationTarget
    extends AMQPFederation
    This is the receiving side of an AMQP broker federation that occurs over an inbound connection from a remote peer. The federation target only comes into existence once a remote peer connects and successfully authenticates against a control link validation address. Only one federation target is allowed per connection.
    • Method Detail

      • getReceiverCredits

        public int getReceiverCredits()
        Specified by:
        getReceiverCredits in class AMQPFederation
        Returns:
        the configured Receiver link credit batch size.
      • getReceiverCreditsLow

        public int getReceiverCreditsLow()
        Specified by:
        getReceiverCreditsLow in class AMQPFederation
        Returns:
        the configured Receiver link credit low value.
      • getLargeMessageThreshold

        public int getLargeMessageThreshold()
        Specified by:
        getLargeMessageThreshold in class AMQPFederation
        Returns:
        the size in bytes before a message is considered large.
      • getLinkAttachTimeout

        public int getLinkAttachTimeout()
        Specified by:
        getLinkAttachTimeout in class AMQPFederation
        Returns:
        the timeout before signaling an error when creating remote link (0 mean disable).
      • signalResourceCreateError

        protected void signalResourceCreateError​(Exception cause)
        Description copied from class: AMQPFederation
        Error signaling API that must be implemented by the specific federation implementation to handle error when creating a federation resource such as an outgoing receiver link.
        Specified by:
        signalResourceCreateError in class AMQPFederation
        Parameters:
        cause - The error that caused the resource creation to fail.
      • signalError

        protected void signalError​(Exception cause)
        Description copied from class: AMQPFederation
        Error signaling API that must be implemented by the specific federation implementation to handle errors encountered during normal operations.
        Specified by:
        signalError in class AMQPFederation
        Parameters:
        cause - The error that caused the operation to fail.