Enum Class FederationType

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

public enum FederationType extends Enum<FederationType>
Enumeration that define the type of federation a policy or resource implements.
  • Enum Constant Details

    • ADDRESS_FEDERATION

      public static final FederationType ADDRESS_FEDERATION
      Indicates a resource that is handling Address federation
    • QUEUE_FEDERATION

      public static final FederationType QUEUE_FEDERATION
      Indicates a resource that is handling Queue federation
  • Method Details

    • values

      public static FederationType[] 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 FederationType 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<FederationType>