Interface QueueListeningOptions

Options for listening to messages from a queue.

Hierarchy

  • QueueListeningOptions

Properties

ackOnNoAck: boolean

Whether to positivly acknowledge messages that were not acknowledged by the listener.

blocking: boolean

Whether to block the event loop while waiting for messages.

nackOnNoAck: boolean

Whether to negatively acknowledge messages that were not acknowledged by the listener.

noAck: boolean

Whether the message will be assumed by the server to be acknowledged immediately (i.e. dequeued) after delivery.

requeueOnError: boolean

Whether to requeue messages that caused an error during processing.

requeueOnNoAck: boolean

When nackOnNoAck is true, whether to requeue messages that were not acknowledged by the listener.