Package org.acemq.amqp.api
Enum Capability
- All Implemented Interfaces:
Serializable,Comparable<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 Summary
Enum ConstantsEnum ConstantDescriptionRouting that distributes keys deterministically across queues.Native dead-letter routing configured on the queue.Delivery deferred until a requested time, without occupying a consumer.Publish to an exchange that routes to queues, rather than directly to a node.Routing decided by message headers rather than by routing key.Priority ordering within a queue.Broker acknowledges that a published message was taken responsibility for.Replicated queues with a consensus protocol.At most one active consumer at a time, preserving order across failover.Append-only, replayable log semantics with consumer-held offsets.Topic-style routing keys with wildcard bindings.Multi-message transactions on the publishing side.Per-message time to live, as opposed to a queue-wide setting. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapabilityReturns the enum constant of this type with the specified name.static Capability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXCHANGE_ROUTING
Publish to an exchange that routes to queues, rather than directly to a node. -
TOPIC_WILDCARDS
Topic-style routing keys with wildcard bindings. -
HEADERS_ROUTING
Routing decided by message headers rather than by routing key. -
PUBLISHER_CONFIRMS
Broker acknowledges that a published message was taken responsibility for. -
TRANSACTIONS
Multi-message transactions on the publishing side. -
DEAD_LETTER_NATIVE
Native dead-letter routing configured on the queue. -
TTL_PER_MESSAGE
Per-message time to live, as opposed to a queue-wide setting. -
PRIORITY
Priority ordering within a queue. -
QUORUM_QUEUES
Replicated queues with a consensus protocol. -
STREAMS
Append-only, replayable log semantics with consumer-held offsets. -
DELAYED_DELIVERY
Delivery deferred until a requested time, without occupying a consumer. -
SINGLE_ACTIVE_CONSUMER
At most one active consumer at a time, preserving order across failover. -
CONSISTENT_HASH_ROUTING
Routing that distributes keys deterministically across queues.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-