Class DeprecatedFeatureInfo

java.lang.Object
org.acemq.rabbitmq.admin.DeprecatedFeatureInfo

public final class DeprecatedFeatureInfo extends Object
A deprecated feature, and how much time is left.

RabbitAdmin.deprecatedFeaturesInUse() is the list that matters: features this broker is actually using. Anything on it breaks at some future upgrade, and finding out from this endpoint is considerably better than finding out from a broker that will not start.

  • Constructor Details

    • DeprecatedFeatureInfo

      public DeprecatedFeatureInfo(String name, String description, String deprecationPhase, String docUrl)
  • Method Details

    • name

      public String name()
    • description

      public String description()
    • deprecationPhase

      public String deprecationPhase()
      Returns:
      how far along the removal is: permitted_by_default, denied_by_default, disconnected or removed. The order is also the order of urgency
    • docUrl

      public String docUrl()
    • isDeniedByDefault

      public boolean isDeniedByDefault()
      Returns:
      whether this feature is already off unless explicitly re-enabled, which means an upgrade will break it rather than warn about it
    • toString

      public String toString()
      Overrides:
      toString in class Object