Skip to content

Capabilities

Capabilities() is declared, not discovered. The core asks before anything is built, and refuses at construction a subscription that asks for what is not declared. The type is messaging.Capabilities.

Field Standard FIFO Meaning here
Overflow none none No overflow policy. A queue the backend is not receiving from holds its messages, so the source stops receiving at its bound and sheds nothing
Patterns false false A subscription is a queue and a queue is a name
DeliveryModes AtLeastOnce AtMostOnce, AtLeastOnce See Standard or FIFO
SurvivesRestart true true The queue is the service's
ExtendsLease true true A lease is extended with ChangeMessageVisibility
Ordered false true Per subject, with one message in flight per subject per queue
Replays false false A queue has no position to rewind to
RoutesAroundDegraded true false On FIFO a wedged member's message in flight blocks its subject's group
DelaysRedelivery true true ChangeMessageVisibility hides a declined message for its delay
MaxRedeliveryDelay 12 hours 12 hours SQS's cap on a message's visibility
RestartLosesLastFailure false false not set
RestartCanSpendUnseenAttempt false false not set
RequestReply false false not set

The gaps, stated plainly

  • No at-most-once on Standard. A standard queue may deliver a message after it has been deleted. An AtMostOnce subscription is refused at Subscribe with messaging.ErrNotSupported, and the core refuses it earlier, at construction, because the mode is not declared.
  • No patterns. A subscription on orders.> or orders.* is refused. The adapter itself also refuses at Subscribe a pattern containing * or >, wrapping messaging.ErrNotSupported.
  • No replay. StartAt: AllAvailable is refused at construction. A queue delivers what it holds.
  • No request and reply. The session does not implement RequestReplier. A Responder subscription is refused at construction, and a Request returns messaging.ErrNotSupported.
  • No overflow policy. The bound is backpressure on the receive: the source stops asking for messages when it holds Bound of them, and the rest wait in the queue.
  • No ordering on Standard, and none across subjects on either.
  • No routing around a wedged member on FIFO.
  • A MaxProcessingTime or decline delay past twelve hours is refused or cut, unless FIFO has MaxHeadroom. See Settlement.

DelayShortened and LeaseExpired are reported, as is Unreadable: the stats are in Settlement, visibility and redrive.