Skip to content

Capabilities

Returned by Capabilities() on the backend rabbitmq.New builds. The values are constants; they do not depend on Settings. The fields are the core's, defined in the backend contract.

Field Value What it means here
DeliveryModes AtMostOnce, AtLeastOnce Both. A subscription asking for another mode is refused.
SurvivesRestart true Quorum queues are durable and every publish is persistent. Held by the suite's restart rows.
ExtendsLease true The consumer holds the delivery unacknowledged, on its own timer.
Patterns true A subscription pattern becomes a binding, and is verified against the queue's bindings.
Ordered true A queue delivers to one consumer in order.
RoutesAroundDegraded true Prefetch bounds what a member can hold, so a competing group avoids a full member. The conformance row decides.
Overflow none See below.
Replays false A queue has no position.
DelaysRedelivery false
MaxRedeliveryDelay zero
RequestReply false
RestartLosesLastFailure false
RestartCanSpendUnseenAttempt false

What is absent

  • No overflow policy. Overflow is nil, so a subscription asking for ShedNewest or ShedOldest gets the backend's native behaviour, and messaging.New returns the bus together with an error saying so (Handle a degraded construction). Prefetch is the bound, and the queue keeps the rest. At-least-once cannot shed in any case.
  • No replay. Replays is false, so AllAvailable on a new durable identity is refused at construction. A queue delivers what it holds.
  • No delayed redelivery. DelaysRedelivery is false. A subscription that sets a Backoff or MaxNackDelay is refused at construction with ErrNotSupported, and a decline is requeued at once.
  • No request and reply. RequestReply is false, and the session does not implement RequestReplier.
  • No deduplication of publishes. See How a publish travels.

RestartLosesLastFailure and RestartCanSpendUnseenAttempt are left at false. The suite's restart rows run against the backend with those declarations.