Class AMQPBridgeLinkConfiguration

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeLinkConfiguration
Direct Known Subclasses:
AMQPBridgeReceiverConfiguration, AMQPBridgeSenderConfiguration

public abstract class AMQPBridgeLinkConfiguration extends Object
Base bridge link configuration that carries configuration common to both sender or receiver bridge links created by the bridge managers.
  • Field Details

  • Constructor Details

  • Method Details

    • getLinkAttachTimeout

      public final int getLinkAttachTimeout()
      Returns the timeout value to use when waiting for a corresponding link attach from the remote.
      Returns:
      the timeout value to use when waiting for a corresponding link attach from the remote
    • isUsingPresettledSenders

      public final boolean isUsingPresettledSenders()
      Returns true if bridge is configured to create links with the sender settle mode set to settled.
      Returns:
      true if bridge is configured to create links with the sender settle mode set to settled
    • isLinkRecoveryEnabled

      public final boolean isLinkRecoveryEnabled()
      Returns true if link recovery support is enabled, false otherwise.
      Returns:
      true if link recovery support is enabled, false otherwise
    • getMaxLinkRecoveryAttempts

      public final int getMaxLinkRecoveryAttempts()
      Returns the maximum number of link recovery attempts, or zero if no attempts allowed.
      Returns:
      the maximum number of link recovery attempts, or zero if no attempts allowed
    • getLinkRecoveryInitialDelay

      public final long getLinkRecoveryInitialDelay()
      Returns the initial delay before a link recovery attempt is made.
      Returns:
      the initial delay before a link recovery attempt is made
    • getLinkRecoveryDelay

      public final long getLinkRecoveryDelay()
      Returns the delay that will be used between successive link recovery attempts.
      Returns:
      the delay that will be used between successive link recovery attempts
    • isCoreMessageTunnelingEnabled

      public boolean isCoreMessageTunnelingEnabled()
      Returns true if the bridge is configured to tunnel core messages as AMQP custom messages.
      Returns:
      true if the bridge is configured to tunnel core messages as AMQP custom messages