Enum Class AMQPBridgeType

java.lang.Object
java.lang.Enum<AMQPBridgeType>
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeType
All Implemented Interfaces:
Serializable, Comparable<AMQPBridgeType>, Constable

public enum AMQPBridgeType extends Enum<AMQPBridgeType>
Enumeration that defines the type of AMQP bridging a given policy manager implements
  • Enum Constant Details

    • BRIDGE_FROM_ADDRESS

      public static final AMQPBridgeType BRIDGE_FROM_ADDRESS
      Indicates a resource that is handling bridging from a remote address
    • BRIDGE_TO_ADDRESS

      public static final AMQPBridgeType BRIDGE_TO_ADDRESS
      Indicates a resource that is handling bridging to a remote address
    • BRIDGE_FROM_QUEUE

      public static final AMQPBridgeType BRIDGE_FROM_QUEUE
      Indicates a resource that is handling bridging from a remote queue
    • BRIDGE_TO_QUEUE

      public static final AMQPBridgeType BRIDGE_TO_QUEUE
      Indicates a resource that is handling bridging to a remote queue
  • Method Details

    • values

      public static AMQPBridgeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AMQPBridgeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AMQPBridgeType>