Class AMQPBridgeSupport

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSupport

public class AMQPBridgeSupport extends Object
Support class for operations involving the AMQP Bridge.
  • Constructor Details

    • AMQPBridgeSupport

      public AMQPBridgeSupport()
  • Method Details

    • createManager

      public static AMQPBridgeManager createManager(AMQPBrokerConnection connection, AMQPBridgeBrokerConnectionElement bridgeElement)
      Create a new AMQPBridgeManager from the bridge configuration element.
      Parameters:
      connection - The broker connection that will contain the AMQP bridge.
      bridgeElement - Configuration of the AMQP bridge.
      Returns:
      a configured AMQP bridge manager instance for use by the parent broker connection.
    • createBridgeQueuePolicy

      public static AMQPBridgeQueuePolicy createBridgeQueuePolicy(AMQPBridgeQueuePolicyElement element, WildcardConfiguration wildcards)
      From the broker AMQP broker connection configuration element and the configured wild-card settings create an queue match policy.
      Parameters:
      element - The broker connections element configuration that creates this policy.
      wildcards - The configured wild-card settings for the broker or defaults.
      Returns:
      a new queue match and handling policy for use in the broker connection.
    • createBridgeAddressPolicy

      public static AMQPBridgeAddressPolicy createBridgeAddressPolicy(AMQPBridgeAddressPolicyElement element, WildcardConfiguration wildcards)
      From the broker AMQP broker connection configuration element and the configured wild-card settings create an address match policy.
      Parameters:
      element - The broker connections element configuration that creates this policy.
      wildcards - The configured wild-card settings for the broker or defaults.
      Returns:
      a new address match and handling policy for use in the broker connection.