Enum Capability

java.lang.Object
java.lang.Enum<Capability>
org.acemq.amqp.api.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>

public enum Capability extends Enum<Capability>
A feature a broker either supports or does not.

AceMQ never silently emulates a missing capability. The core asks the transport what the connected broker can do and then either uses the native feature, applies a documented alternative, or fails at startup naming the capability. This is what makes one API safe to point at both RabbitMQ and an AMQP 1.0 broker.

  • Enum Constant Details

    • EXCHANGE_ROUTING

      public static final Capability EXCHANGE_ROUTING
      Publish to an exchange that routes to queues, rather than directly to a node.
    • TOPIC_WILDCARDS

      public static final Capability TOPIC_WILDCARDS
      Topic-style routing keys with wildcard bindings.
    • HEADERS_ROUTING

      public static final Capability HEADERS_ROUTING
      Routing decided by message headers rather than by routing key.
    • PUBLISHER_CONFIRMS

      public static final Capability PUBLISHER_CONFIRMS
      Broker acknowledges that a published message was taken responsibility for.
    • TRANSACTIONS

      public static final Capability TRANSACTIONS
      Multi-message transactions on the publishing side.
    • DEAD_LETTER_NATIVE

      public static final Capability DEAD_LETTER_NATIVE
      Native dead-letter routing configured on the queue.
    • TTL_PER_MESSAGE

      public static final Capability TTL_PER_MESSAGE
      Per-message time to live, as opposed to a queue-wide setting.
    • PRIORITY

      public static final Capability PRIORITY
      Priority ordering within a queue.
    • QUORUM_QUEUES

      public static final Capability QUORUM_QUEUES
      Replicated queues with a consensus protocol.
    • STREAMS

      public static final Capability STREAMS
      Append-only, replayable log semantics with consumer-held offsets.
    • DELAYED_DELIVERY

      public static final Capability DELAYED_DELIVERY
      Delivery deferred until a requested time, without occupying a consumer.
    • SINGLE_ACTIVE_CONSUMER

      public static final Capability SINGLE_ACTIVE_CONSUMER
      At most one active consumer at a time, preserving order across failover.
    • CONSISTENT_HASH_ROUTING

      public static final Capability CONSISTENT_HASH_ROUTING
      Routing that distributes keys deterministically across queues.
  • Method Details

    • values

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

      public static Capability valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null