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. AnAtMostOncesubscription is refused atSubscribewithmessaging.ErrNotSupported, and the core refuses it earlier, at construction, because the mode is not declared. - No patterns. A subscription on
orders.>ororders.*is refused. The adapter itself also refuses atSubscribea pattern containing*or>, wrappingmessaging.ErrNotSupported. - No replay.
StartAt: AllAvailableis refused at construction. A queue delivers what it holds. - No request and reply. The session does not implement
RequestReplier. ARespondersubscription is refused at construction, and aRequestreturnsmessaging.ErrNotSupported. - No overflow policy. The bound is backpressure on the receive: the source stops asking for
messages when it holds
Boundof 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
MaxProcessingTimeor decline delay past twelve hours is refused or cut, unlessFIFOhasMaxHeadroom. See Settlement.
DelayShortened and LeaseExpired are reported, as is Unreadable: the stats are in
Settlement, visibility and redrive.