Skip to content

Interface: QueueCapabilities ​

What a QueueDriver supports natively. The Queue uses it to emulate what it can (the retries, the dead letters, the results kept elsewhere) and to refuse the options it cannot honor (QueueCapabilityException).

Properties ​

dedupe ​

dedupe: boolean

A second message of the same id dropped while the first one is kept (add(..., {jobId, dedupe: true})).


delay ​

delay: boolean

A message delivered at a time (add(..., {delay})).


ordering ​

ordering: boolean

The messages of one key delivered in their order, one at a time (the ordered actions).


priority ​

priority: boolean

The messages of a greater priority delivered first.


redeliverAfter ​

redeliverAfter: boolean

A delivery given back to be delivered again after a delay (the retries).


reply ​

reply: boolean

The driver carries a reply to the instance which sent a message (QueueDriver.reply).


results ​

results: boolean

The driver keeps the results (QueueDriver.saveResult, QueueDriver.readResult).

Released under the MIT License.